hi
i have a qusetion
i use of picture gallery for path to pictures but paths should not change.
in other mean in www.domain.com/gallery/albums/userpics/10001/thumb_filmfestival.jpg
www.domain.com/gallery/albums/userpics/10001/ should not changes because i use this address in my script but each picture has diffrent name and no problem for changing name of pictures
as example:
i store name of pictures in database
ID name
1 book.jpg
2 home.jpg
and i use of this script
<img src=gallery/albums/userpics/10001/[last name from database]>
do the paths of pictures that i will upload will change?
is anyway to paths of pictures will not change?
Thanks
Actually, using 'userpics' is incorrect. If you upgrade to a newer version of CPG, you will no longer be able to batch load photos in that folder.
You have normal http uploaded pics in userpics - that's exactly what it is designed for. The paths to uploaded files will not change after upload even if you move the pics around between albums and categories.
no my target is not it.
if i want add new name of pic to my database do path of new pic is diftrent with last path pic?
is any way each time i add new pic to gallery, path does not changing?
I'm not sure if I understand correctly, but if you want to have the path that will always show the last pic added, then it is this;
Quotehttp://www.your_site.com/your_gallery/displayimage.php?album=lastup&cat=0&pos=0