Page 1 of 1

Changing an image asset on click

Posted: Sun Nov 04, 2012 10:33 pm
by Matthew Gardner

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


Changing an image asset on click

Posted: Mon Nov 05, 2012 12:10 am
by maxkatz

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.


Changing an image asset on click

Posted: Thu May 29, 2014 9:28 am
by Nureddin Akpinar

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.


Changing an image asset on click

Posted: Thu May 29, 2014 10:38 am
by Kateryna Grynko

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/...