[Solved]: Individual thumbnails shown in site Blog? [Solved]: Individual thumbnails shown in site Blog?
 

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

[Solved]: Individual thumbnails shown in site Blog?

Started by Nanook, July 04, 2004, 05:11:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nanook

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.

Joachim Müller

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 <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:<a href="http://coppermine.sourceforge.net/demo/displayimage.php?pos=-4">
    <img src="http://coppermine.sourceforge.net/demo/albums/food/fruit/thumb_764_O.jpg" border="0" width="53" height="80" alt="" />
    </a>
GauGau

Nanook

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


pep

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.

Joachim Müller

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

pep

thanks, GauGau,

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

Joachim Müller

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