forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: intrinsicchaos on October 07, 2004, 07:56:41 am

Title: direct link to images?
Post by: intrinsicchaos on October 07, 2004, 07:56:41 am
Hi, I tried to search for the answer to this but couldn't find it.

Basically, I'd like to be able to use img links to photos I have in my coppermine gallery from elsewhere. For example, I want to visually include photos from my gallery in my blog on Blogger.

However, the direct URLs I'm trying to use within the img src tags aren't working - for example, http://bagombo.com/photos/displayimage.php?pid=15&fullsize=1 seems to work if I type it in a browswer url box but not within an img src tag. Anyone know why this is happening?

Any help would be much appreciated.
Title: Re: direct link to images?
Post by: Joachim Müller on October 07, 2004, 09:09:20 am
you can only put image resouces iinto [ i m g ] tags (bbcode tags), while the full-size pop-ups are not only images, but they're embedded within an html page. This is by design, as allowing you to do so would mean granting people to insert malicious code into your bbs page. There are several workarounds for this which imply code changes that are hard to perform for newbies, so I rather suggest you do a right-click, properties on the images in question and copy'n paste the full URLs of the pic into your bbcode tags.
You might want to take a look at this mod as well: http://forum.coppermine-gallery.net/index.php?topic=431.0

Joachim
Title: Re: direct link to images?
Post by: bob-dc2 on October 17, 2004, 08:52:49 pm
ok i have searched around for over an hour.

actually im pretty sure this has been covered I just havent found it yet


I want to encourage hyper linking.

Right now if i right click properties it will show this:
http://www.hondadynos.com/gallery/wm.php?pid=89&mode=fullsize

I would like a link where it will be able to link to all types of forums (not just bbcode powered forums)
like alot of my users will be posting images on a forum program called http://www.zeroforum.com
they only allow
Code: [Select]
[img] [/img] tags not [img= url ... tags

what is weird, is that I looked on the demo for this site, and when I did right click > properties, it showed a file with a jpg extension.

thanks again :)
Title: Re: direct link to images?
Post by: Casper on October 17, 2004, 09:17:28 pm
Have you got any mods or hacks in use.  This is not a form of url I recognise.

You are running version 1.3.1, you are advised to update to 1.3.2.
Title: Re: direct link to images?
Post by: bob-dc2 on October 17, 2004, 10:56:44 pm
i have a hack for adding watermark, i have to look up which one it is. im running imagequick

I will have my admin upgrade to 1.3.2

so you are saying it shouldnt be that url?
Title: Re: direct link to images?
Post by: Casper on October 18, 2004, 12:28:06 am
This url is almost certainly a result of the watermark hack.  Most people who watermark don't want the image hotlinked.
Title: Re: direct link to images?
Post by: bob-dc2 on October 18, 2004, 07:23:08 am
hrm, that sux.

well when people hotlink it to my site, its kinda like advertising when there is a watermark on it.

oh well, it answers my question. thanks :)
Title: Re: direct link to images?
Post by: Joachim Müller on October 18, 2004, 09:21:04 am
http://www.hondadynos.com/gallery/displayimage.php?pid=89&fullsize=1 would work as well, without the watermarking (it's the url of the regular pop-up). It'd be easy to make this url show up...

Joachim