View topic - How to modify thumbnail contents?
Frequently Asked Questions | Search | Usergroups | Register | Profile | Sign in | Sign in to check your private messages
How to modify thumbnail contents?

 
Post new topic   Reply to topic    Pixaria Forum Index » Pixaria Community Forum
View previous topic :: View next topic  
Author Message
PrimaPhoto
Veteran Member
Veteran Member


Joined: 24 Jun 2007
Posts: 95

PostPosted: Thu Jun 17, 2010 12:43 pm    Post subject: How to modify thumbnail contents? Reply with quote

I Have been scouring around the tpl files and cannot seem to find how to do the following:






http://www.primaverasports.com/index.gallery.php?gid=37


A: change the width of the box
B: modify icons and in particular what icons are showing

Also on other thumbnails I would like to modify the text "Title: Date: and Contains:"
(Looked all tru the tpl files)

Thanks
_________________
Primavera Photography


-----------
http://www.primaverasports.com
Back to top
View user's profile Send private message
swaffs
Pixaria Guru
Pixaria Guru


Joined: 27 Jan 2005
Posts: 421
Location: London

PostPosted: Fri Jun 18, 2010 8:52 am    Post subject: Reply with quote

The box sizes/colours/margins are set by CSS

I changed the content of my thumbs through one of the .tpl files, gallery.thumbnail.view.tpl maybe? I can't see until I get home.

The actual words TITLE/DATE/FILE NAME are stored in the language files.

I had created my own icons etc, and I know the newer versions of Pixaria have them in the default template now (plus they are probably coded much better than my efforts)

http://www.swaffs.co.uk/gallery/TTC2010rd3Silverstone/pages/4/
_________________
Back to top
View user's profile Send private message Visit poster's website
PrimaPhoto
Veteran Member
Veteran Member


Joined: 24 Jun 2007
Posts: 95

PostPosted: Fri Jun 18, 2010 6:54 pm    Post subject: Modifying thumbnails in gallery Reply with quote

Quote:
The box sizes/colours/margins are set by CSS


- this statement is close but in the file I mention below you can find an in-line style <div class="thumb-lrg" style="width:290px; height:300px;"> - this is around line 181


I found it.

This may help, in index.image directory I edited the file view.thumbnails.tpl.

In the file I found <p class="center"> but in the CSS I was unable to find the class called center so I added it to the CSS file and then made my own little mod of the tag to this <p class="center" style="margin-top:10px">.

This block around line 225 is where I edited the icons and removed the shopping cart icon.

My new template design is slowly coming along.
_________________
Primavera Photography


-----------
http://www.primaverasports.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Pixaria Forum Index -> Pixaria Community Forum All times are GMT - 1 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum