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: Embedded Codes in Album View Under Thumbnails???  (Read 6208 times)

0 Members and 1 Guest are viewing this topic.

crow5716

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
    • Bouncing Trucks
Embedded Codes in Album View Under Thumbnails???
« on: May 29, 2009, 11:21:50 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

crow5716

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
    • Bouncing Trucks
Re: Embedded Codes in Album View Under Thumbnails???
« Reply #2 on: May 29, 2009, 11:29:36 pm »

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
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Embedded Codes in Album View Under Thumbnails???
« Reply #3 on: May 30, 2009, 12:21:57 am »

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

crow5716

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
    • Bouncing Trucks
Re: Embedded Codes in Album View Under Thumbnails???
« Reply #4 on: May 30, 2009, 01:58:57 pm »

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
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Embedded Codes in Album View Under Thumbnails???
« Reply #5 on: May 30, 2009, 02:42:02 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
    • Bouncing Trucks
Re: Embedded Codes in Album View Under Thumbnails???
« Reply #6 on: May 30, 2009, 08:53:13 pm »

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
Code: [Select]
<a href="{LINK_TGT}">{THUMB}</a>
but the {THUMB} contains all of this when it writes it...
Code: [Select]
<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
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.