Matthew Gardner
Posts: 0
Joined: Thu Nov 01, 2012 7:51 am

Changing an image asset on click

When an image is clicked I wish to change the image displayed. When I try changing property-Asset and setting it to the name of another image I have uploaded to my project it doesn't do anything.

As well, I need to know how I could check to see which images have been changed to the new asset if many of these were created when polling our server.

Thanks

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Changing an image asset on click

You should check in the generated code (when the app is running) what happens when you run your code, to what URL the image src is set.

You can also try to use this:
Tiggzi.getImagePath('image_name');

that returns the image URL by its name.

Nureddin Akpinar
Posts: 0
Joined: Sat May 24, 2014 12:04 pm

Changing an image asset on click

Hi max
I want to change the image by installing media manager from each click.
Please tell me in detail.
How to change the Src value.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Changing an image asset on click

Hi Nureddin,

Could you please clarify what you want? Do you need to display all the images from Media Manager, or do you have an array with images names?

As I can see you already created a topic, so let's continue there:
https://getsatisfaction.com/apperyio/...

Return to “Issues”