gallery intent open the clicked image - image

I have a Grid View which displays images downloaded by user to a folder onto the SD card. The images change and depend on what the user decided to download and save to the Application folder. Now my question is how i open the very image i clicked on using android stock or default gallery. I'm using the code below. How do i get the image path of the image view i clicked on and use it to open that specific image?
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(filePath)), "image/*");
startActivity(intent);
Please help.

Change ACTION_VIEW to ACTION_PICK

Related

Use Entire Image Overlay as link Sp page builder

I am new to Joomla and Sp Page builder.
I need to make the Image Overlay addon on joomla clickable, I am aware you can use the title as a link, but I want the whole Image to be clickable. Pls help
enter image description here
You can create a custom addon (based on image overlay) and adjust the output to have the link containing the image
https://www.joomshaper.com/blog/how-to-create-a-custom-addon-for-sp-page-builder
Or you can add some jQuery to get the link inside each image overlay and add it outside the container then adjust with some css.

Browse images on a server from a form button like when uploading an image

I am very new to Laravel so this may be a trivial one but basically, in a form, I want a choose image button that then allows the user to browse a selection of images from my image storage (s3).
I want them to be able to browse it in the same way as if they were doing a file upload.... but restrict their visibility to being a directory containing all the images on my server, so I guess basically allowing them to browse a directory on the server via windows explorer or finder so they can select an already existing image.
Is that doable? easily?
On my website I have an image section where users can upload images, then in another section I have a form and part of the form allows a user to select one of the uploaded images.
It doesn't matter who uploaded the image, all users should have access to this image bank to choose one for the form.
Any help, advice or a nudge in the right direction would be greatly appreciated!
Many thanks,
Krivvenz.

How to change hyperlinks of images in Work Item in TFS

Image can be inserted into Details section of Work Item in TFS using Insert Image button. Is it possible to change final hyperlink to image ?
Issue is that we are using VPN in order to access TFS and hyperlinks to images do not have the full path with the domain that we need to see it directly in the WI itself.
If is possible to do some configuration changes for this ?
For the local image, now within TFS under the "History" tab where you're inserting your image. It will automatically displays as an image directly. PS: I'm using VS2015
For the online image, it's impossible now. You can only view the hyperlinks or save it as local then update it. Please refer this user voice: https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/2037677-copy-and-paste-screenshots-into-work-items

construct setting page in windows phone 8

I am developing on alarm based application
I want to add one setting page to my app. I want to change image of Image control which is on my Mainpage. image should be changing when button click event occurs from setting page. All Images are stored in my simple local folder of application like assets folder. please help me
So you could do simply like this, within your button click event handler:
BitmapImage imgSource = new BitmapImage(
new Uri("/PivotApp1;component/Images/halfstar.png", UriKind.Relative));
imageName.Source = null;//imageName is the name of the image control
imageName.Source = imgSource;
For more you could refer these:
On Button Press - Change Image Source
Imagebutton change source property
To show multiple images, you could use the image sliding. Reference
Hope it helps!
If you're looking for an example of a settings page, check out my app templates: Universal version and Silverlight (WP 8.0) version - they both have a settings page and an example of how to respond to when a setting changes.

How to know what image is used when looking at the webpage

There is a facebook logo in the frontend design of my site above the header. I want to replace the it with a different colour facebook image. All i did was go to "skin/frontend/default/template_name/images/" and replace the old image with the new one with the same name. But still, the old image is displayed. Please help?????
Rather simple:
make a right click on a image and open image in new tab or inspect the source adress of this image
replace the image on the url that it is really displayed
clear your browser cache if the image still does not change

Resources