Advanced search  

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

Pages: [1]   Go Down

Author Topic: Incomplete URL to thumbnails  (Read 9725 times)

0 Members and 1 Guest are viewing this topic.

zenith

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Incomplete URL to thumbnails
« on: August 24, 2006, 08:58:43 am »

Quote
vuud
     Re: Missing the thumbnails
« Reply #1045 on: August 17, 2006, 02:55:32 PM » 

Quote
--------------------------------------------------------------------------------
Quote from: Loox420 on August 17, 2006, 12:37:12 PM
Hello!

I have integrated cpmfetch (v. 1.6.2) to my coppermine gallery (v. 1.4.8 ) and tried to running cftest.php. It works, but only partially. The url of the image seems indeed correct, but i missing the thumbnails. My gallery is installed in the root-directory and i have set the directory variable with a slash. In the image path i missing the url of my site, because in the path i have two slashes. The path of the thumbnails looks like this:


Code:
img  src="//albums/userpics/10008/thumb_PIC00157.jpg
whereas the url to the full image is correctly:


Code:
/displayimage.php?pos=-289
The url of my site is: www.clickfreepic.de

What can i do to got a right image path?

PS. Sorry for my poor english!

I've seen this before...  I think.  You could try searching the forums here for the answer.  When I remember what causes this I will repost if you have not found it.



 

I too am having this exact problem (both with v1.6.2 and v1.6.3). I've searched the forum and docs but have also had no luck.

@loox420 - Did you make any progress with this?

@vuud - Perhaps you can remember the cause?

I would be greatfull for any assistance.
Regards
zenith.

« Last Edit: August 27, 2006, 11:46:01 am by GauGau »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Incomplete URL to thumbnails
« Reply #1 on: August 24, 2006, 03:15:00 pm »

I've seen this before...  I think.  You could try searching the forums here for the answer.  When I remember what causes this I will repost if you have not found it.


I too am having this exact problem (both with v1.6.2 and v1.6.3). I've searched the forum and docs but have also had no luck.

@loox420 - Did you make any progress with this?

@vuud - Perhaps you can remember the cause?

I would be greatfull for any assistance.
Regards
zenith.


Can you post a link to the cftest.php page? 

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

zenith

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Incomplete URL to thumbnails
« Reply #2 on: August 24, 2006, 03:23:32 pm »

Sorry, should have thought of that....

http://urbantwilight.net /.../cftest.php

zenith
« Last Edit: August 24, 2006, 06:01:56 pm by zenith »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Incomplete URL to thumbnails
« Reply #3 on: August 24, 2006, 04:38:48 pm »

Sorry, should have thought of that....
http://urbantwilight.net/cpmfetch/cftest.php
zenith

Ah, I love night photography...  I don't have a lot of gear, so I make do with a Canon digital and a tripod.  Amazing stuff on your site though - out of my league.  Urban exploration is pretty cool too.  Not much I do with that though.

The only thing I can think of in this scenario is that since your gallery is in the root of the site, the double hypens are screwing with the whole default hostname thing.

I've got a development version that I am wrapping up that works perfectly in this situation... if you can wait till tonight I will have the instructions wrapped up, and if you don't mind running a test version...

If not, I will dig out the 1.6.3 code and see how it can be gotten around.  I won't be able to do that till later either though

Nice site

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

zenith

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Incomplete URL to thumbnails
« Reply #4 on: August 24, 2006, 05:11:00 pm »

Ah, I love night photography...  I don't have a lot of gear, so I make do with a Canon digital and a tripod.  Amazing stuff on your site though - out of my league.  Urban exploration is pretty cool too.  Not much I do with that though.

The only thing I can think of in this scenario is that since your gallery is in the root of the site, the double hypens are screwing with the whole default hostname thing.

I've got a development version that I am wrapping up that works perfectly in this situation... if you can wait till tonight I will have the instructions wrapped up, and if you don't mind running a test version...

If not, I will dig out the 1.6.3 code and see how it can be gotten around.  I won't be able to do that till later either though

Nice site


Thanks for the kind comments on the site. Its always good to get such positive feedback. - For what its worth, i think your doing an excelent job of the cpmfetch project. It obvious that many many people are benifiting from it.

I am happy to wait until you latest dev version is ready. Just let me know when its done and i'd be more than happy to test it out.

About to head to bed now (its 1am here), will check back tomorrow.

thanks for your assistance.
zenith.
Logged

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Incomplete URL to thumbnails
« Reply #5 on: August 24, 2006, 11:51:41 pm »

I do have exactly the same problem!
Here's my cftest page: http://www.daviderenda.com/cpmfetch/cftest.php
I'll be waiting for the latest version too  ;) ;)

PS. needless to say, but great work vuud!

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Incomplete URL to thumbnails
« Reply #6 on: August 26, 2006, 05:51:51 pm »

dev version (http://forum.coppermine-gallery.net/index.php?topic=35432.0) works  ;)
thank you from a new cpmfetch addicted  :) :)

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Incomplete URL to thumbnails
« Reply #7 on: August 26, 2006, 05:54:29 pm »

dev version (http://forum.coppermine-gallery.net/index.php?topic=35432.0) works  ;)
thank you from a new cpmfetch addicted  :) :)

Excellent, sign up for the mailing list ...  you are running a dev, but upgrading should be painless for you.

Dev releases are just that.  I could release a new one later today - who knows.  If it is urgent (like a security hole or something) then I will notify the mailing list.

Enjoy.

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

zenith

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Incomplete URL to thumbnails
« Reply #8 on: August 27, 2006, 10:20:28 am »


New version works like a charm. Guess you can mark this solved.

Thanks again for your help, you've made some great software.

Zenith.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Incomplete URL to thumbnails
« Reply #9 on: September 09, 2006, 06:08:05 pm »

I had the same problem using the stable version since my gallery is located in the root of my domain. I didn't realize that the dev version would fix it so I modified the stable version. I'll post the solution in case someone wants to stick to stable for now. :)

FIND:
Code: [Select]
$htmlOut .= '<img  src="' . $imagefile . '"';

REPLACE with:
Code: [Select]
$htmlOut .= '<img  src="http://' . $_SERVER['HTTP_HOST'] . '/' . $imagefile . '"';
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 22 queries.