
2.1.1 pro thumbnails spacing and sizing
#1
Posted 29 November 2010 - 11:53 AM
here is the page in question...
http://www.galkins.o...eos-mp3s/videos
Thumbnails for the gallery look great when page loads. Proper spacing, sized correctly, etc...
But when paginating it resizes the thumbs funny and messes up the spacing. Is there a way to go back to the other non-automatic resizing? I don't need it to do the fluid stuff...which is what it looks like is throwing it off.
#2
Posted 29 November 2010 - 11:27 PM
Anyway, you can certainly get rid of the fluid thumbnail feature if you're not keen on it. The solution is to create a new TubePress theme, which is relatively easy and "upgrade proof" against new versions of TubePress. Here are the docs on themes: http://tubepress.com...us...via_themes. They're new in this version, so please feel free to ask questions if the docs aren't clear.
After creating your custom theme, I would simply comment out the "TubePressGallery.fluidThumbs..." lines from gallery.tpl.php. That should do the trick.
#3
Posted 01 December 2010 - 12:17 PM
I am seeing it happen in OSX FF, Chrome, and Safari. Thanks!
P.S. jonkopp: I am seeing it happen on your link above myself. When the page load the thumbs are nice and big. Click a pagination button back or forth and the thumbs get smaller.
When I look at the source for this it seems it is adding style="width:120px;" to each
#4
Posted 01 December 2010 - 03:45 PM
#5
Posted 01 December 2010 - 09:36 PM
Is there an easy way to override the fluid sizing for now? Its a wonderful addition to the plugin by the way, just not workin on my install.
Thanks for all your great work Eric.
#6
Posted 02 December 2010 - 01:24 AM
#7
Posted 02 December 2010 - 01:45 AM
Assuming this works for everyone, it will go out officially shortly. There's one more bug (related to the WordPress widget control) that I want to fix and then version 2.1.2 will be ready for release.
Looking forward to your feedback. Thanks!
#8
Posted 02 December 2010 - 11:31 AM
#9
Posted 02 December 2010 - 01:00 PM
Seems to have fixed it perfectly for me
That's good news!
#10
Posted 02 December 2010 - 04:30 PM
#11
Posted 08 December 2010 - 01:00 AM
Thanks as always,
Cam
#12
Posted 30 January 2011 - 10:20 PM
Sorry to bump this but that replacement tubepress.js didn't resolve the issue for me. Any ideas as to what might be going on?
Cheers
Cam
#13
Posted 30 January 2011 - 10:55 PM
Thanks for any help,
Cam
#14
Posted 31 January 2011 - 05:12 PM
I am still experiencing this same issue, even though I am using 2.1.2 Pro. I tried updating with the file you posted in this thread, but same problem:
http://spincreativegroup.com/work/
It only started occurring after I changed the thumbnail sizes. I tried altering the fixed height and width in the default theme's stylesheet to give more room, but that didn't help. Interestingly, as soon as I open Firebug all the thumbnail resize properly and everything looks fine, except some of the title text disappears on the right side.
Any idea why this happening or what I could do to fix it?
I have tested in PC/Firefox/Win 7, PC/IE8/Win 7 and Mac/OS X/Firefox and the same bug is happening in all of them.
Also, I updated the tubepress.js file before I realized it was from an older version. Should I revert back to the file that came with the 2.1.2 package?
Thanks for your help!
#15
Posted 02 February 2011 - 03:43 PM
The TubePress JS file reference earlier in this thread is deprecated as of 2.1.2. You should definitely use the fresh copy of tubepress.js from the 2.1.2 download.
Let me know how else I can help out.
#16
Posted 03 February 2011 - 01:57 PM
Thank you for replying!
I tried your suggestion and created a theme and removed the fluid thumbnails JS from the file you mentioned, but unfortunately that doesn't work. I need the thumbnails to be sized to 115px x 200px, and with the fluid thumbnails JS removed they just stay the default size:
http://spincreativegroup.com/work/
When I keep the fluid thumbnails JS in, occasionally the thumbnails do resize properly when I load the page, but most of the time they stay at the default size. The odd behavior is that when I open Firebug (my debugging Firefox plugin) the thumbnails all suddenly resize to their proper position, so it appears that the fluid thumbnails JS is not being properly initialized. It may be worth noting that when I reload the page the thumbnails never appear correctly, but sometimes after opening firebug, closing in, navigating away from the page and back to it the thumbnails are sized and positioned correctly.
Since removing the fluid thumbnails JS did not work and was causing it to never work, I went ahead and put it back in for the time being.
Phew! This is the last issue I'm having, and once we get this resolved I'll be out of your hair :P
Thanks for your help!
#17
Posted 04 February 2011 - 01:26 PM
I put the fluid JS back in and went to the page and it worked great the first couple of times, but after browsing away and back a couple of times it broke again. I took out the fluid JS and it won't work at all, and opening Firebug doesn't even fix the alignment. Totally lost at what to do next. The current page has the fluid JS removed:
http://spincreativegroup.com/work/
Any ideas you have would be greatly appreciated!
Thanks!
#18
Posted 04 February 2011 - 06:16 PM
#19
Posted 04 February 2011 - 06:22 PM
All I did here was change the "width" attribute of the "tubepress_thumb" CSS class to 220px. You can make the change in your theme's style.css (it's currently set to 120) if that's in fact what you're after. Let me know. Thanks!
#20
Posted 05 February 2011 - 05:03 PM
Thanks for the outstanding support! Yes, that fixed the alignment problem and the galleries are now displaying great. Thank you! An odd thing occurred, however. I managed to work around it but thought I'd mention it to you.
I created a new theme folder "spincreative", and uploaded to the FTP and selected the new theme in the TubePress settings, but when I was trying to change style.css it wasn't updating anything. I opened up FireBug and saw that style.css wasn't being loaded from the "spincreative" theme folder as I expected, but was being loaded from the "default" theme. I double-checked that the correct theme was selected, and it was. When I went to update gallery.tpl.php I had to upload to "spincreative" for it to take affect, but when changing style.css I have to upload to "default" for it to be loaded. I managed to work around it but I thought I'd mention it so it was on your radar.
Lastly, there's a new issue that just started happening that wasn't happening before. I don't think it's related to the changes I made, though. Sometimes when loaded the gallery, I get this message:
"No videos to populate this TubePress gallery."
I'm loading the videos from a Vimeo Album. It will load fine one time, then if I leave the page and come back it gives that error. Or, it loads fine, then using pagination I go to page 2 or 3 and will get that message. Right now it's happening about 40% of the time. The other 60% of the time all the pages load fine. Is this just an issue with Vimeo that will resolve itself, or is it something on my end I need to correct?
Thanks again for your excellent support. I'll definitely recommend your plugin to several friends!