add "preview"
bigu_c
Joined: 2007-10-28
Posts: 421 |
Posted: Sat, 2009-09-12 13:15 |
http://g2-sites.com/gallery/color-pack1/20060506_000.jpg.html I see this feature: (from NZDI theme) Color Pack - NZDI Light Grey - Preview Is this easy to add this feature to CARBON theme? Thanks! |
|
Posts: 16504
You'd have to look at and dig into the NZDI theme to see how they do it and massage that code to work with Carbon. Since Carbon loads the thumbs into the photo page just like that does, I don't see why it wouldn't be possible.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
Sorry, what do you mean?
Is this feature cannot apply to Carbon theme?
Posts: 16504
No, I think it can be. But I don't have time to dig into the code, you'll need to do that yourself. I think because Carbon, just like NZDI already loads the thumbs into into the photo page it should be "easy" if you know HTML a bit of CSS and maybe some PHP/Smarty for the templating. But for some of that you can probably copy and paste from the NZDI theme.
Granted I've not looked at the code for either one of those themes
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
I know some HTML and CSS, but today I tried copy / paste from NDZI to Carbon (in photo.tpl) but failed
Posts: 16504
I have a feeling variable names and some other stuff isn't going to line up just right.
If you have a few days maybe a week or so, I can probably dig into it at some point.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
I can wait and I hope in near day you can help me to do this.
Thank you!
Posts: 16504
Your other options would be to modify NDZI to look (color wise) more like Carbon.
Also take a look at this site where you can demo all kinds of themes:
http://themes.gallery2.hu/index.php
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
(First, sorry for my English)
You can check this link:
http://g2-sites.com/gallery/color-pack1/20060506_000.jpg.html
I like this part on that site:
[img]http://img12.imageshack.us/img12/8900/42049517.jpg[/img]
I want to apply this part to CARBON theme.
If this is easy you can help me to do.
If this is too hard. I will do it by my hand in future when I can learn more about PHP, MySQL, Smarty, HTM and CSS (sorry currently I don't have enough money to go to school).
Posts: 16504
No need to go to school for this stuff Google is a great resource. Asking questions, trying, reading books and hitting google is how I've learned most of my knowledge, though yes, I did go to school for some stuff.
I an in no way an expert in PHP, MySQL, HTML, CSS, etc Smarty isn't something you'd go to school for anyway. It's just a templating engine that's used in G2. G3 will be much easier to customize as long as you know HTML and CSS. And in the future more graphical stuff may happen to make it even easier for the non-tech person.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 27300
I don't have time to do the css and formatting for you but if you take:
and place that at the bottom of photo.tpl it should get you started.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16504
Thanks Dave
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
Hi Dave,
I added your code to photo.tpl but don't see any thumbnail.
I tried to change:
{assign var="lastIndex" value=10}
{assign var="columnIndex" value=10}
But thumbnails still doesn't show.
Posts: 27300
Works for me on the matrix theme. Try that first. Clear cache?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 421
I'm using Carbon theme, deleted template and database cache too but still doesn't show.
http://www.car-pictures.us/audi/a5/Audi_A5_Sportback_01.jpg.html
Thanks!
Posts: 27300
Make it work in the matrix theme first .
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 421
I added that code to my photo.tpl on Matrix theme but got same result.
Posts: 27300
Seems to work for me I don't know waht you are doing wrong.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team