CpmFetch - using CFIMAGEGET to get remote images - Page 2 CpmFetch - using CFIMAGEGET to get remote images - Page 2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CpmFetch - using CFIMAGEGET to get remote images

Started by vuud, April 10, 2005, 10:52:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vuud

Quote from: marcelk on January 02, 2006, 01:14:07 PM
Is it possible te use cfimageget.php to always get the same image. I assume it would be something like  \cfimageget.php?Pic=1 instead of \cfimageget.php?album=1 to get a random image from album 1.



Why would you want to?  Why not just link to the picture with an IMG tag?

Otherwise, regrettably... no it does not.

If there is a decent reason for it, I will add it to the list of things to add to it though

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

marcelk

the reason I ask if this is possible is that I want my users to be able to hotlink to there pictures and provide them with a ease to use url instead of the full url to the image.

In a for me ideal situation it would show de image if available and a default image or error text if the requested image does not exist.

vuud

Quote from: marcelk on January 05, 2006, 11:33:29 AM
the reason I ask if this is possible is that I want my users to be able to hotlink to there pictures and provide them with a ease to use url instead of the full url to the image.

In a for me ideal situation it would show de image if available and a default image or error text if the requested image does not exist.



Okay, seems reasonable enough.  I added it to the list of things to do...  Either the next release, or more likely the one after that i will try to hae it added in.

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

marcelk


radmofo

#24
Hello I am looking for anyone who has had trouble fetching photos from any album number 26 or above. I can get them from any other album (1-25) but not 26 and above. I really don't know where the problem might lay but if anyone can help...please do. My link is here if your interested in looking.
Please give me some negative Karma. :)

Sasse

#25
Hi!
The cpimaget.php basically works, for me. But I can't use any restrictions.
When I add e.g. ?category=1 no image shows up at all.
What am I doing wrong?
Thx for any help!

PS: Is it possible to point to a specific album within the cpimageget.php file? I could create an extra file for every album, if the universal method won't work.


Problem solved:

I just figgured out that I don't have catagory or album 1 and 2. It starts with 3  ???  ::)   Well but now it works perfectly fine!   ;D

Sasse

Well, I have another one now.

I want to post three Random images out of the same album, so I use the same link three times.
Now it displays the same image three times. What do I have to do in order to get 3 different random images?

howie10

Hi.
I am using cfimageget succesfully. However, I would really like to show the last three uploaded images in my gallery. I can only show one by setting my cfimageget.php "$default_command" to 'last' and calling "cfimageget.php?album=lastup" from my img tag.
I have tried "cfimageget.php?album=lastup&pos=1" (then pos=1 etc), but it doesn't work.

Is it possible to display the last three images uploaded to my gallery?

SamuRon

hi - I am having an odd issue when using CFIMAGEGET.  I'm using Coppermine 1.4.4 and CoppermineFetch 1.6.2.

I'm simply trying to use this to display the latest image in a gallery with: <img src="http://www.fwooshnet.com/cpmfetch/cfimageget.php?size=int&album=49&cmd=last">

for some reason, this only seems to work with batch uploaded files.  when the files in the gallery have been uploaded manually, they won't display using cfimageget.  the album I'm trying to pull from is here: http://www.fwooshnet.com/pics/thumbnails.php?album=75

all the album properties are the same as in the working example with album 49- it just happens that the images in album 75 were uploaded using the Upload Files interface instead of Batch Upload.

thanks in advance for your help.

SamuRon

Quote from: SamuRon on March 17, 2006, 06:07:54 AM
hi - I am having an odd issue when using CFIMAGEGET.  I'm using Coppermine 1.4.4 and CoppermineFetch 1.6.2.

I'm simply trying to use this to display the latest image in a gallery with: <img src="http://www.fwooshnet.com/cpmfetch/cfimageget.php?size=int&album=49&cmd=last">

for some reason, this only seems to work with batch uploaded files.  when the files in the gallery have been uploaded manually, they won't display using cfimageget.  the album I'm trying to pull from is here: http://www.fwooshnet.com/pics/thumbnails.php?album=75

all the album properties are the same as in the working example with album 49- it just happens that the images in album 75 were uploaded using the Upload Files interface instead of Batch Upload.

thanks in advance for your help.


I tried a standard php file and it looks like I get the same result using cpmfetch.php.  not sure where to go from here.

slayer

I am having trouble getting this CFIMAGEGET to work properly, when i run it i get a broken image...

however when i turn the errors on i get the following error

Notice: Undefined variable: row in /home/idolcrea/public_html/gallery/cpmfetch/cfimageget.php on line 255

Notice: Undefined variable: row in /home/idolcrea/public_html/gallery/cpmfetch/cfimageget.php on line 255

Warning: Cannot modify header information - headers already sent by (output started at /home/idolcrea/public_html/gallery/cpmfetch/cfimageget.php:255) in /home/idolcrea/public_html/gallery/cpmfetch/cfimageget.php on line 278

Warning: Cannot modify header information - headers already sent by (output started at /home/idolcrea/public_html/gallery/cpmfetch/cfimageget.php:255) in /home/idolcrea/public_html/gallery/cpmfetch/cfimageget.php on line 279
GIF89a????!?,D;


any ideas? as it stands none of CPMFETCH works, cftest?? doesnt show anything, but i only want this to work right now


P.S. CFIMAGEGET
* RELEASE VERSION 1.6.2
Coppermind 1.3.3

are they even compatable? the docs said they were

BleeZeR

Quote from: marcelk on January 02, 2006, 01:14:07 PM
Is it possible te use cfimageget.php to always get the same image. I assume it would be something like  \cfimageget.php?Pic=1 instead of \cfimageget.php?album=1 to get a random image from album 1.



yes! i really would like it to for my fan site about Anne Hathaway!
But on an other fan site they use cpmfetch to i believe not sure though how come they can show one image thats doenst randomize?

My site http://www.annie-hathaway.com
other fan site http://annehathawayfan.com
Webmaster @ Annie-hathaway.com!

vuud

Quote from: BleeZeR on May 20, 2006, 05:54:56 PM
yes! i really would like it to for my fan site about Anne Hathaway!
But on an other fan site they use cpmfetch to i believe not sure though how come they can show one image thats doenst randomize?

My site http://www.annie-hathaway.com
other fan site http://annehathawayfan.com

Sure, if you are still interested please repost...

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