Nicolas Juen
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Image Sizes] custom size not an option when inserting image into postHi,
The image size is displayed only if the size is available for this medias, is your media big enough to be resized ?
Check there is no notices on your website, maybe the XHR call contains an error then the json cannot be parsed and not going to the next step.Forum: Plugins
In reply to: [Simple Image Sizes] Only one additional image size possible?Hi,
Have you your jquery version overriden by a theme for the cdn version ?
I do not have this issue on my site on 3.8 too.Do you have a screenshot ?
Forum: Plugins
In reply to: [Simple Image Sizes] Only one additional image size possible?Hi,
This is a weird issue, the size name have to be like a post slug.
Ex : ‘my-custom-size’.But on validating the sizename the plugin says “Size my-custom-size”. This is maybe a space issue, use the “size_name” value for calling the WordPress image functions.
Rahe
Forum: Plugins
In reply to: [Simple Image Sizes] Is it support WP 3.7.1Hi,
Have you regenerated the image sizes ?
Have you an featured image attached to your post ?Forum: Plugins
In reply to: [Simple Image Sizes] Can't Delete Custom SizesNot really because the image is generated by one user one time then the image size is cached in the “wp-content/uploads/cache” folder and WordPress never have to generate it until you delete the folder.
Forum: Plugins
In reply to: [Simple Image Sizes] Can't Delete Custom SizesThere is a solution, using the add_image_size functionnality but blocking the image generation during upload with a filter. Then use WP_Thumb plugin wich is generating the image when you call them.
In this case you will only have usefull images and when you change/delete new images sizes you only have to delete the wp-content/uploads/cache folder, the original file is still on the uploads folder but all the other images are on the cache folder.
Forum: Plugins
In reply to: [Simple Image Sizes] Can't Delete Custom SizesYou’re welcome.
The feature is touchy to build because the image sizes are nor inted to be deleted/edited, but maybe a solution can be found ;).
The image quality is global to WordPress so you only can change all the images quality with php function like this http://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/Forum: Plugins
In reply to: [Simple Image Sizes] Can't Delete Custom SizesHi !
Go to the wp_options table and then search for the option_name “custom_image_sizes”.
I you found one then delete him and no more sizes will be displayed in the media settings page by my plugin, all your sizes generted by the plugin will be deleted.
But if you have used the ‘add_image_size’ function then the image sizes will stay.Forum: Plugins
In reply to: [Simple Image Sizes] Can't Delete Custom SizesHi,
Try to delete the option ‘custom_image_sizes’ of your database, i will add an action to delete this options when uninstalling.
Rahe.
Hi,
Good idea, i will use the post_type_support function for next release 🙂
Rahe
Hi,
This will be present in the next WordPress version so I prefer not, but the right solution is to use the add_image_size() or a mu-plugin for setting this crop to true. It’s a little bit less flexible but will not be duplicate on WP 3.6.Rahe
Forum: Plugins
In reply to: [Simple Image Sizes] How can i add image in php filesHi,
You just have to add this part of code in the
while(have_posts()): the_post() endwhile;part of you theme file, this have to be in the loop. If you wan to display a specific image you can use the
get_the_post_thumbnail()function.Rahe
Forum: Plugins
In reply to: [Simple Image Sizes] How to Insert Single Images size in the post.no problem 🙂
Forum: Plugins
In reply to: [Simple Image Sizes] How to Insert Single Images size in the post.Hi,
I remember that in the meta ‘_wp_attachment_metadata’ there is all the informations about the image. It make a Array like this :
array ( 'width' => '480', 'height' => '360', 'hwstring_small' => 'height='96' width='128'', 'file' => 'http://i.ytimg.com/vi/73Q4Emg4s8w/hqdefault.jpg', )So you can make as much as sizes as you want and display them under the description.
Rahe
Forum: Plugins
In reply to: [Simple Image Sizes] Regeneration freezes with png imagesHi,
I will add a skip in this case.
Rahe