Thumbnails not showing up same size
-
I’m using the plugin within the tabs shortcode of my theme. I have the thumbs set to 230×230 max width/height in the document gallery shortcode. However, the thumbs are all over the board on my page.
The five tabs are
Meeting Minutes – Ok proper size 178px x 230px
Treasurer’s Reports – Ok proper size 178px x 230px
Run Related Docs – 178px Γ 230px (scaled to 58px Γ 74px)
Business Documents – 2ok 1 89px Γ 89px (scaled to 176px Γ 176px)
How To… – 178px Γ 230px (scaled to 117px Γ 151px)
-
Hi Dory,
Can you please navigate to Document Gallery Settings (Dashboard -> Settings -> Document Gallery), go to the Advanced tab, and enable logging. Once that’s done, go to the Thumbnail Management tab and delete all thumbnails. Finally, go to the gallery page (which will force regeneration of the thumbnails).
Once this is done, we may get some clues from the generators — back in the Document Gallery Settings, copy and paste any non-detail log entries. Additionally, if you could copy the options information from the textbox on the Advanced tab that would be helpful.
Thanks,
DanWow, thanks for the quick reply!!! and sorry for the double post. I thought I lost the page so I started over.
Anyway, I did what you suggested above.
The thumbs are still the same size as before I deleted them.
There are no non-detail log entries. All are detail
Here is the code in the advanced tab.
Array ( [thumber] => Array ( [thumbs] => Array ( [2950] => Array ( [timestamp] => 1428266746 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-12-31_treasurer_report-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/2014-12-31_treasurer_report-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2951] => Array ( [timestamp] => 1428266746 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-12-31_year_end_report-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/2014-12-31_year_end_report-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2940] => Array ( [timestamp] => 1428266746 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-2-28_monthly_report-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/2014-2-28_monthly_report-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2941] => Array ( [timestamp] => 1428266747 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-3-31_monthly_report-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/2014-3-31_monthly_report-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2942] => Array ( [timestamp] => 1428266747 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-4-30_sd4w_ai_treasurer_report-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/2014-4-30_sd4w_ai_treasurer_report-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2943] => Array ( [timestamp] => 1428266747 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-5-31_treasurer_report-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/2014-5-31_treasurer_report-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2952] => Array ( [timestamp] => 1428266748 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2015-01-31_treasurer_report-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/2015-01-31_treasurer_report-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2953] => Array ( [timestamp] => 1428266748 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2015-02-28_treasurers_report_02-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/2015-02-28_treasurers_report_02-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2970] => Array ( [timestamp] => 1428272370 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Run-Signup-Waiver-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Run-Signup-Waiver-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2972] => Array ( [timestamp] => 1428275292 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2015-03-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2015-03-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2973] => Array ( [timestamp] => 1428275292 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2015-02-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2015-02-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2974] => Array ( [timestamp] => 1428275293 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2014-12-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2014-12-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2975] => Array ( [timestamp] => 1428275293 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2014-11-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2014-11-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2976] => Array ( [timestamp] => 1428275293 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2014-09-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2014-09-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2977] => Array ( [timestamp] => 1428275294 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2014-08-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2014-08-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2978] => Array ( [timestamp] => 1428275294 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2014-06-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2014-06-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2979] => Array ( [timestamp] => 1428275295 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2014-05-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2014-05-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2980] => Array ( [timestamp] => 1428275295 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2014-04-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2014-04-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2981] => Array ( [timestamp] => 1428275296 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Minutes-Monthly-2014-02-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp/wp-content/uploads/Minutes-Monthly-2014-02-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [3680] => Array ( [timestamp] => 1430324288 ) [3677] => Array ( [timestamp] => 1430324291 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/How-to-add-a-gallery-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/How-to-add-a-gallery-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [3684] => Array ( [timestamp] => 1430348687 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/How-to-add-a-document-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/How-to-add-a-document-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [3685] => Array ( [timestamp] => 1430351075 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/Treasurer-Monthly-2015-03-thumb.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/Treasurer-Monthly-2015-03-thumb.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2949] => Array ( [timestamp] => 1430441307 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-11-30_treasurer_report-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/2014-11-30_treasurer_report-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2948] => Array ( [timestamp] => 1430441308 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-10-31_treasurer_report-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/2014-10-31_treasurer_report-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2947] => Array ( [timestamp] => 1430441308 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-09-30_treasurer_report-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/2014-09-30_treasurer_report-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2946] => Array ( [timestamp] => 1430441309 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-08-31_treasurer_report-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/2014-08-31_treasurer_report-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2945] => Array ( [timestamp] => 1430441309 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-07-31_treasurers_report-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/2014-07-31_treasurers_report-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2944] => Array ( [timestamp] => 1430441309 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-06-30_treasurers_report-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/2014-06-30_treasurers_report-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2939] => Array ( [timestamp] => 1430441310 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-1-31_sd4w_ai_treasurer_report-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/2014-1-31_sd4w_ai_treasurer_report-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2037] => Array ( [timestamp] => 1430441310 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/2014-Bylaws-With-Signature-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/2014-Bylaws-With-Signature-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) [2035] => Array ( [timestamp] => 1430441311 [thumb_url] => http://www.sd4wheel.com/wp-content/uploads/sd4w-membership-app-v10-thumb1.png [thumb_path] => /home1/sdfouwhe/public_html/wp-content/uploads/sd4w-membership-app-v10-thumb1.png [thumber] => Array ( [0] => DG_Thumber [1] => getGhostscriptThumbnail ) ) ) [gs] => /usr/bin/gs [active] => Array ( [av] => 1 [gs] => 1 [imagick] => ) [width] => 230 [height] => 230 [timeout] => 30 ) [gallery] => Array ( [columns] => 3 [fancy] => 1 [order] => ASC [orderby] => name [relation] => AND [limit] => 24 [mime_types] => application,video,text,audio [post_status] => any [post_type] => attachment [attachment_pg] => [descriptions] => ) [css] => Array ( [text] => [minified] => ) [meta] => Array ( [version] => 3.0.2 [donate_link] => https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgalleryΒ€cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted ) [validation] => [logging] => 1 )Dory,
Looking at the thumbnails referenced in the content from the advanced tab, your thumbnails look to be the correct size — specifically, I looked at the How to add… documents and both are 230px tall.
Am I missing something?
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Hi Dan,
Here are 4 screenshots, one of each tab, of what I’m seeing. I’m seeing this in both Chrome & FF.
http://grab.by/GXxE
http://grab.by/GXxC
http://grab.by/GXxA
http://grab.by/GXxyHi Dory,
The actual thumbnails for the documents that appear mis-sized all appear to be the correct size (eg: http://www.sd4wheel.com/wp-content/uploads/Run-Signup-Waiver-thumb.png). This means that there is something weird going on in your CSS. Since it is not consistent across the galleries, it is likely related to something weird that your theme is doing.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
I’m willing to take a quick look to see if I can spot what the theme is doing, but I can’t access your gallery as it’s password protected. If you want to create a temporary login for me and email it to me then I can possibly give more information.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Hi Dan,
I don’t see anything in the CSS but when I disable the code in my browse developer tools
#document-gallery-3 .document-icon { width: 32%; }The documents go to the correct size. I’ll send you and email with the username & password.
Thanks so much for your help!
Thanks, Dory!
I got your email and I will be looking into this. I’ve got an exam I’m preparing for at this moment, but should be able to look into this by mid week.
Thanks for your patience,
DanHi Dan,
Just checking in to see if you have had a chance to review. I hope your exam went well. π
Hi Dory,
Thanks for the reminder!
I just took a closer look and it looks like your theme is misbehaving. If you look at the div parent of the Document Gallery output,
content .tab-pane, it’s not filling its parent. Since Document Gallery is designed to fill the size of its parent, this causes the small icons you are seeing.Try this workaround:
content .tab-pane { width: 100% }All the best,
DanPS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Well… that didn’t work but this did.
.fusion-tabs.fusion-tabs-1 .tab-content .tab-pane { width:100%; } div.document-icon img { width: 100%; }Oops — glad you got a working solution anyway! π
-Dan
The topic ‘Thumbnails not showing up same size’ is closed to new replies.