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: [Solved]: Individual thumbnails shown in site Blog?  (Read 4227 times)

0 Members and 1 Guest are viewing this topic.

Nanook

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: Individual thumbnails shown in site Blog?
« on: July 04, 2004, 05:11:58 pm »

I'm apologize in advance if this is a terrible newbie question, but is there an easy way to integrate specific individual thumbnails into a Blog?

Our blogs are about our hot rod/restoration projects. I'd like to hard code 1 or two images a day into each blog entry on my site and have those refer to larger collections of pictures taken that day. Unfortunately I can't even find where the thumbnails are being stored on the server!  :-[ Maybe they are created dynamically?

So far I love the easy of use of Coppermine, especially the batch upload feature, but without this feature I may have to continue manual placement of pictures.  :P Please tell me there's a way.  ???

Sincerely,

Greg

http://www.cardiaries.com/blogs/  <-Story thumbnails shown here have been hard coded and are not yet stored in Coppermine.
« Last Edit: July 05, 2004, 03:12:53 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Individual thumbnails shown in site Blog?
« Reply #1 on: July 05, 2004, 02:15:51 am »

The thumbnails in coppermine are not being created dynamically, but only once when the pic is added to the coppermine database. To find about about the thumb url you can use to show the image anywhere else, just right-click on the thumbnail in question, choose "properties" (or a similar word, depending on the browser you use) and copy'n paste the url that is being shown in the properties dialog.
As an example, take a look at our demo:
  • if you want to show the thumbnail of the lemon on the thumbnail page http://coppermine.sourceforge.net/demo/thumbnails.php?album=1 , right-clicking - properties shows the url of the thumb is http://coppermine.sourceforge.net/demo/albums/food/fruit/thumb_764_O.jpg and the dimensions of the thumb are 53 x 80
  • the html mark-up for the thumbnail would then be
    Code: [Select]
    <img src="http://coppermine.sourceforge.net/demo/albums/food/fruit/thumb_764_O.jpg" border="0" width="53" height="80" alt="" />
  • If you want the thumbnail to be a link to the pic in the gallery, click on the thumbnail in the demo to browse to the regular image page. Scroll down the page to the bottom; you'll notice an absolute url for the page you're viewing that you can use to hotlink (it will differ from the url in your browser's address bar). In this example, the absolute url is http://coppermine.sourceforge.net/demo/displayimage.php?pos=-4 (if you don't have the url section at the bottom on your coppermine install, click the (i) link to toggle the pic info section on/off)
  • Just create the mark-up in plain html and wrap it around the code created above, so your html code will look like this:
    Code: [Select]
    <a href="http://coppermine.sourceforge.net/demo/displayimage.php?pos=-4">[/li][/list]
    <img src="http://coppermine.sourceforge.net/demo/albums/food/fruit/thumb_764_O.jpg" border="0" width="53" height="80" alt="" />
    </a>
GauGau
Logged

Nanook

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Individual thumbnails shown in site Blog?
« Reply #2 on: July 05, 2004, 02:41:50 am »

Doh!  :-[ Thanks so much. That definitely does the trick.

Logged

pep

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: [Solved]: Individual thumbnails shown in site Blog?
« Reply #3 on: July 18, 2004, 02:19:39 am »

Greeting all.

I am trying to do the same thing. But when I right click a thumbnail of my photo gallery, it does not show the property menu - as if the right click function has been disabled. I am using version 1.2.0. Anyone knows how to enable right click? thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Individual thumbnails shown in site Blog?
« Reply #4 on: July 18, 2004, 07:59:55 am »

this has been discussed in detail, please search the board for "no right-click". It's not recommended to use cpg1.2.0 anyway, since it's buggy. You should upgrade.

GauGau
Logged

pep

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: [Solved]: Individual thumbnails shown in site Blog?
« Reply #5 on: July 19, 2004, 05:54:11 pm »

thanks, GauGau,

another question, how can I add the title of the thumbnail below the thumbnail to another page? thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Individual thumbnails shown in site Blog?
« Reply #6 on: July 19, 2004, 09:26:52 pm »

update to cpg1.3.1, it has more thumbnail options. Please understand that we have a "one question per thread" policy on this forum, please post new questions on new threads (after reading the documentation and searching the board).

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 19 queries.