Page 1 of 1
Display a specific picture
Posted: 2006-05-17 06:34:35
by RRUU
How would one get AMC to generate a picture of a specific movie on the Full Page?
For example, the 5th picture of a total of 10 pictures/movies?
I hope anyone can help me
Thanks
Posted: 2006-05-17 07:38:58
by antp
Currently AMC only handles one picture per movie so I do not really see what you mean

Posted: 2006-05-25 02:31:26
by RRUU
Sorry let me try again
Instead of having AMC generate all pictures in the list, Id like it to only generate 1 picture. I do however want it to generate the entire list but only the 1 picture. (The latest addition/movie to my list).
For now I guess I can have it generate all pictures and just upload the one I am actually using but it would just make things a little more efficient if AMC is able to do this for me.
I hope that explains it more clear, sorry for the last post.
Thank you
Posted: 2006-05-25 08:55:00
by antp
In the HTML export? There is an option to not regenerate pictures that already exist in the case that you kept the files of previous export.
Another solution may be to not export pictures, and then only for the selected movie(s) use the picture export.
Posted: 2006-05-26 01:47:27
by RRUU
Im sorry again lol Im not a good explainer.
Here is my temporary website
http://www.angelfire.com/ab7/royalw/movies.html
At the moment I have to use another program (Frontpage) to insert the 3 new movie pictures. But there is also the entire list down below.
Is there a way I could achieve this with AMC only (and not the need of another program)?
Thanks
Posted: 2006-05-26 10:06:40
by antp
I think that you cannot get this done automatically, sorry.
Posted: 2006-05-28 00:14:51
by RRUU
Oh well thats ok.
Maybe I can try think of another way in time
Thank you for helping me out

Solution
Posted: 2006-06-01 08:03:20
by RRUU
Oh sweet I figured a way around it by learning some new javascript and using it with an array.
I thought to post it up here if anyone else finds it useful.
Code: Select all
var pic = new Array();
$$ITEM_BEGIN
pic[$$ITEM_NUMBER] = "$$ITEM_PICTUREFILENAME";
$$ITEM_END
Code: Select all
<script type="text/javascript">document.write("<img src=\""+pic[$$TOTAL_MOVIES]+"\" width='200' height='300'>");</script>
This would give you the last picture you added because it uses "[$$TOTAL_MOVIES]'s" number as a reference.
To get the picture you want just use math...
Example:
Code: Select all
<script type="text/javascript">document.write("<img src=\""+pic[$$TOTAL_MOVIES-1]+"\" width='200' height='300'>");</script>
Where "[$$TOTAL_MOVIES-1]" is the second to last movie you added.
Thanks again

Posted: 2006-06-01 13:41:24
by antp
Good idea
