Advanced search  

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]

Pages: [1]   Go Down

Author Topic: direct link to images?  (Read 4285 times)

0 Members and 1 Guest are viewing this topic.

intrinsicchaos

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
direct link to images?
« 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: direct link to images?
« Reply #1 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
Logged

bob-dc2

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: direct link to images?
« Reply #2 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 :)
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: direct link to images?
« Reply #3 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bob-dc2

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: direct link to images?
« Reply #4 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?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: direct link to images?
« Reply #5 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bob-dc2

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: direct link to images?
« Reply #6 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 :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: direct link to images?
« Reply #7 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
Logged
Pages: [1]   Go Up
 

Page created in 0.041 seconds with 19 queries.