Author Topic: One download-url for all images  (Read 3441 times)

0 Members and 1 Guest are viewing this topic.

Offline FunnyUser

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
One download-url for all images
« on: September 23, 2008, 05:05:47 PM »
Hello,

is it possible to define one url, e.g.: http://domain.com/pictures/{image_name}.jpg ??


Thank you very much!

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: One download-url for all images
« Reply #1 on: September 23, 2008, 06:40:02 PM »
... you know, that it is possible to have in every cat_folder a image with the same name ... ?
... and so this short download url can't work without cat_info / cat_id ...

... and there remains a question ... for what do you need such a download url ... ?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline FunnyUser

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: One download-url for all images
« Reply #2 on: September 23, 2008, 07:16:02 PM »
... you know, that it is possible to have in every cat_folder a image with the same name ... ?
... and so this short download url can't work without cat_info / cat_id ...

... and there remains a question ... for what do you need such a download url ... ?

Yes I know. And it will not be a problem, beacause my e.g. link looked like this:
http://domain.com/pictures/{image_name}.jpg

I need it because i have my files on an external server. On my server are just the thumbnails and preview pics. Not the images with very high resulution.

And I know that it will work, because when I replace the default "download_button" with an normal button and a normal link to (http://domain.com/pictures/{image_name}.jpg) it works! But it doesnt count the download times. So i have no statistic for "most downloaded" on "top.php"


Do you know what I'm talking about?

Thank you!!!!!!!!!!