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: picture posting  (Read 2662 times)

0 Members and 1 Guest are viewing this topic.

slmann

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
picture posting
« on: June 21, 2012, 03:32:39 am »

can you post pictures to a forum from this gallery using the IMG tags.  Can you set the gallery to automatically resize photos to a certain size so that they post well on forums.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: picture posting
« Reply #1 on: June 21, 2012, 10:04:32 am »


can you post pictures to a forum from this gallery using the IMG tags. 


Yes, you can embed pictures from Coppermine into your forum using [img][/img] tags providing your forum software allows it.


Can you set the gallery to automatically resize photos to a certain size so that they post well on forums.


Coppermine will resize to what ever you have it set to.  Size of posted image would normally be controlled by the forum software.  Intermediate sized images will small enough to post, whilst full size might be too big.  It comes down to how you set everything up really.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: picture posting
« Reply #2 on: June 21, 2012, 12:47:13 pm »

can you post pictures to a forum from this gallery using the IMG tags
That has to be a feature of your forum or wherever you want to post that code. http://en.wikipedia.org/wiki/BBCode
Logged

slmann

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: picture posting
« Reply #3 on: June 22, 2012, 02:56:09 am »

thanks for the help guys. I have it figured out but still have a question.

the gallery displays this info as the pics url http://www.lbsoutdoors.com/gallery/displayimage.php?pid=1   but if you use that in the img tag the picture won't show up.

if you right click on the gallery image and "copy image url" it gives you this url http://www.lbsoutdoors.com/gallery/albums/userpics/10002/normal_61912_004.JPG
which does work in the img tags.

Is there a setting to change what url the gallery displays?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: picture posting
« Reply #4 on: June 22, 2012, 08:54:57 am »

There's no setting, but this could be modded, if really needed. Instead, I suggest to use this plugin, which already provides pre-defined BBCodes.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: picture posting
« Reply #5 on: June 22, 2012, 09:39:38 am »

thanks for the help guys. I have it figured out but still have a question.

the gallery displays this info as the pics url http://www.lbsoutdoors.com/gallery/displayimage.php?pid=1   but if you use that in the img tag the picture won't show up.

if you right click on the gallery image and "copy image url" it gives you this url http://www.lbsoutdoors.com/gallery/albums/userpics/10002/normal_61912_004.JPG
which does work in the img tags.

Is there a setting to change what url the gallery displays?

There's nothing wrong with the addresses you gave, but you are getting confused the difference between a page address, and a image address

http://www.lbsoutdoors.com/gallery/displayimage.php?pid=1  is a page address.  The page the image is displayed on.

http://www.lbsoutdoors.com/gallery/albums/userpics/10002/normal_61912_004.JPG  Is the actual image address, the one you need to embed in your forum posts etc.

Hope this makes sense.  ;)

I would also recommend the Plugin Andre mentioned above, it works well, and I use it on my site for this very reason.  ;)

Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.