Incomplete URL to thumbnails Incomplete URL to thumbnails
 

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

Incomplete URL to thumbnails

Started by zenith, August 24, 2006, 08:58:43 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

zenith

Quotevuud
     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.


vuud

Quote from: zenith on August 24, 2006, 08:58:43 AM
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? 

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

#2
Sorry, should have thought of that....

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

zenith

vuud

Quote from: zenith on August 24, 2006, 03:23:32 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

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

Quote from: vuud on August 24, 2006, 04:38:48 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.

Davide Renda

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


vuud

Quote from: lontano 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  :) :)

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.

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


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

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

Zenith.

Tranz

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:
$htmlOut .= '<img  src="' . $imagefile . '"';


REPLACE with:
$htmlOut .= '<img  src="http://' . $_SERVER['HTTP_HOST'] . '/' . $imagefile . '"';