Embedded Codes in Album View Under Thumbnails??? Embedded Codes in Album View Under Thumbnails???
 

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

Embedded Codes in Album View Under Thumbnails???

Started by crow5716, May 29, 2009, 11:21:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crow5716

I want to have a embedded area with 3 different types of code that can be clicked and copied for users to past the code in different places to use my images. But I want them all listed under the image/thumbnail in the album view. I've included a link to my gallery in html how i have it now. This is the look i want to accomplish but with coppermine. I've searched for this but only found embedded stuff in the fullsize image view. i want 3 embedded boxes under each thumbnail in the album view. If you look at the 2 links I included. One is how my gallery page is now done in all html. i want that look but with coppermine. So really I don't even need the expanded image view. Because the images are all around 100x100 total.

http://www.bouncingtrucks.com/gallery/thumbnails.php?album=2 <-what i'm working with

http://bouncingtrucks.com/Trucks_Chevy_1.html <-my gallery now. i want to imitate this look with coppermine

Once i get these issues figured out I can continue with skinning the gallery. Thank you for any help. I hope that I explained my issues well enough. If anyone has questions please ask and I can explain my questions better. Thank you again

-Crow
BouncingTrucks.com

Joachim Müller


crow5716

that's one of the ones i found but wasn't sure if it will go where i want it to go. Looks as if they are using it on the single expaned view of the image. I was looking to put 3 boxes of embedded code directly under each thumbnail when you are looking at an album. or can i use that code for this in that section? if so, which php file writes out the album? so i know where to start looking at code. sorry for all the newbie dumb questions :P

-crow

Joe Carver

Quoteif so, which php file writes out the album?
Look in theme.php in the Sample theme directory.

crow5716

i was looking through the same theme.php and couldn't fidn what i'm looking for. if you could point me in the right direction in that file if that is the right file.

You know where under each thumbnail if your looking at a page in an album the thumnails are kind of like in a grid and under each thumbnail there is a number for how many views it has. i want to get rid of the number of views and put in 3 different boxes of embedded code. where will i find where it writes out the number of views under each thumbnail?

-crow

Joe Carver

Start by reading here
Read the docs that came with your Coppermine.
Broad instruction about html/css/php styling is out of bounds for this forum,
but you should be looking at the templates within the file - good luck


crow5716

ok, i almost have this figure out. but where can i call the string for just the url of the image.

this is what writes each thumnbail
<a href="{LINK_TGT}">{THUMB}</a>

but the {THUMB} contains all of this when it writes it...
<img src="albums/userpics/10001/001.gif" class="image" width="100" height="100" border="0" alt="001.gif" title="Filename=001.gif
Filesize=8KB
Dimensions=100x100
Date added=May 29, 2009"/>


and all i need is "albums/userpics/10001/001.gif". how, or where can i find the string for just the source? and where does the {THUMB} get all put together? maybe I can fidn it in there.

-crow