-
AuthorPosts
-
June 7, 2014 at 8:02 pm #276096
Fullwidth Masonry Gallery not showing images in edit mode after creating new gallery.
After gallery creation, once the page is saved & closed, re-editing of gallery does not show any images to edit.June 7, 2014 at 10:08 pm #276122Hello Rick,
Have you tried disabling all third-party plugins to see if it gets fixed?
Regards,
JosueJune 7, 2014 at 11:37 pm #276151Yes.. this issue existed on a fresh WP install with no plugins activated.
Thanks for the suggestion…June 8, 2014 at 12:40 am #276156Hi,
Can you please create me an administrator account? post it here as a private reply.
Regards,
JosueJune 8, 2014 at 2:34 pm #276201This reply has been marked as private.June 8, 2014 at 5:13 pm #276246Hi Rick!
The login you provided is not working.
Regards,
JosueJune 8, 2014 at 7:25 pm #276261This reply has been marked as private.June 8, 2014 at 8:31 pm #276269This reply has been marked as private.June 9, 2014 at 3:18 am #276328Hi!
Thank you for the update.
I created a test page with the masonry gallery and I can still update or edit the gallery set when I edit the element. Just to test, I added a new full width masonry gallery on the link that you provided and it works fine. Check it here:
http://www.stbarth.villas/wp-admin/post.php?post=3271&action=edit&message=6
http://www.stbarth.villas/wp-admin/post.php?post=734&action=edit&message=1Please download the latest version 2.8.1 from your themeforest account then update the theme via FTP. Please refer to this link for more info: http://kriesi.at/documentation/enfold/updating-your-theme-files/
Regards,
IsmaelJune 9, 2014 at 4:20 pm #276449This reply has been marked as private.June 9, 2014 at 5:42 pm #276481Hey Rick!
Try increasing the PHP memory limit:
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHPDon’t forget to update the theme.
Cheers!
JosueJune 9, 2014 at 6:37 pm #276529This reply has been marked as private.June 9, 2014 at 6:49 pm #276540Could you try upping it to 256 or more?
June 9, 2014 at 7:35 pm #276562This reply has been marked as private.June 9, 2014 at 7:51 pm #276571I believe i found the root of the issue:
http://wordpress.org/support/topic/ajax-problem-failed-to-load-resource-the-server-responded-with-status-of-503Try adding this to your .htaccess file:
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
Cheers!
JosueJune 9, 2014 at 8:18 pm #276592This reply has been marked as private.June 9, 2014 at 8:26 pm #276601The problem is that the images are missing their thumbnails, therefore the havoc in the gallery element, so i tried running the Regenerate Thumbnails plugin but i kept getting this error:
Doing a google search i found out that the culprit of the issue is the ModSecurity rule, i also found this detailed article which may be of help:
http://pumastudios.com/2009/05/file-uploads-and-mod_security-vs-wordpress-wp-adminadmin-ajaxphpBest regards,
JosueJune 11, 2014 at 6:39 pm #277654Hi Josue,
Thanks for the investigative work on my image problem.
I have found the fix and thought it would be helpful to give to you in the event others are experiencing the same issue.
After applying the fix you will need to re-gen thumbnail images, delete gallery, then re-add gallery.
Below is the fix & an brief explanation of problem from my hosting provider.
The code has been added to the functions.php*** (code below) and we have uploaded successfully. Unfortunately, this is not a simple flip a switch type of fix. The problem is caused by WordPress updating to look specifically for Imagick libraries without being backward compatible. The issue with this is that currently the version of imagick that cpanel is set to build into PHP is not the latest release, and that is where the problem comes in. The only resolution we have found currently is to add this code or create a plugin with the information below.
The quick solution that I have found at this time is to install a plugin which changes this function to use GD libraries.
To install the plugin, create a folder called “default-to-gd” in /wp-content/plugins/ and create a php file named “default-to-gd.php”, next add the following code:
<?php
/*
Plugin Name: Default to GD
Plugin URI: http://wordpress.org/extend/plugins/default-to-gd
Description: Sets GD as default WP_Image_Editor class.
Author: Mike Schroder
Version: 1.0
Author URI: http://www.getsource.net/
*/function ms_image_editor_default_to_gd( $editors ) {
$gd_editor = ‘WP_Image_Editor_GD’;
$editors = array_diff( $editors, array( $gd_editor ) ); array_unshift( $editors, $gd_editor );
return $editors;
}********************************************************************************
Code added to the functions.php
The code that we added to the end of function.php is below:add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ ); function change_graphic_lib($array) { return array( ‘WP_Image_Editor_GD’, ‘WP_Image_Editor_Imagick’ ); }
The above fixes worked like a charm…. you might consider adding the to the next upgrade.
Best Regards
Rick SchererJune 11, 2014 at 6:43 pm #277657This reply has been marked as private.June 11, 2014 at 8:25 pm #277688Hey Rick!
Try adding this code to the Quick CSS:
td { vertical-align: top; }
Thanks for sharing the solution to the gallery problem!
Cheers!
JosueJune 11, 2014 at 10:39 pm #277755This reply has been marked as private.June 11, 2014 at 10:41 pm #277757You are welcome, always glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘Gallery Edit Issues’ is closed to new replies.