Yes but I have a problem with this, when text_object plugin is enabled all albums thumbs are broken.
I have one album with 2 files: file-name.txt and file-name.jpg
the thumb created on cache folder is : {zp-core}{images}_imageDefault.png_100_thumb.png
How can I fix this?
Okay I found why,
I made a change to class-textobject.php file :
addPluginType('txt', 'TextObject') replaced by addPluginType('html', 'TextObject')
with this change every thing work fine except the album thumbs
I don't want to use txt files beacause I prefer to have url like :
http://www.site.com/album/file-name.html
instead of
http://www.site.com/album/file-name.txt.html
Any way to get this working??
Thank you for your help.
okay but there is also on the cache folder others thumbs from the album
let's say I have an album with : file1.htm + image1.jpg and file2.html + image2.jpg
on the cache folder I see :
{zp-core}{images}_imageDefault.png_100_thumb.png
image1.jpg_100_thumb.jpg
image2.jpg_100_thumb.jpg
but {zp-core}{images}_imageDefault.png_100_thumb.png is the only thumb displayed on albums index
Quote: file1.htm + image1.jpg and file2.html + image2.jpg
You actually should have file1.htm + file1.jpg and file2.html + file2.jpg but I guess you know that? If the image meant as a thumb does not have the same name it will be considered as an image itself, not as a thumb to the htm file. Therefore the htm file will not have a thumb and will get the default one assigned.
Your are talking about the album thumb, right? Well, which image is selected for that will depend on what you have chosen in your album thumbnail settings. My guess is that you have left it alone and the one chosen is the "first" which is presumably file1.htm and has no thumbnail standin, so the default is used.