Help me : Path Of Pictures Help me : Path Of Pictures
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Help me : Path Of Pictures

Started by alirezaok, September 27, 2004, 07:41:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alirezaok

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

Tranz

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.

Nibbler

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.

alirezaok

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?

Casper

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
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here