labm0nkey
Forum Replies Created
-
Forum: Hacks
In reply to: Cloning admin pages like users.phpAfter some further research I have used WP_List_Table class for this. I had to add buttons and links myself to make it look like users.php but it wasn’t much of work.
Forum: Plugins
In reply to: [Picturefill.WP] Poor performance with custom image sizesThat first fix worked. After setting height to 9999 page loads just fine. So the real problem is that if I don’t set height in my custom image size It is recreated on every page load. I understand that on first load some images that are missing should be recreated but in my case I used another plugin to recreate every image in every size so they already existed and still your plugin thought that it needs to be done. Additionally I’ve let it recreate images on first load which took 26 minutes on my local server and still they were recreated again on next page load. To sum this up something, somewhere thinks that when height is not mentioned the image has to be always recreated.
Getting back to the complexity of adding custom sizes in this plugin. I think that the aim of this plugin to work out of the box is perfectly achieved. Look on this from another side – after all the stuff done in this plugin the output is simple “picturefill” html output. The syntax of it is in most cases the same and the only thing that can be different is the list of image sizes and their breakpoints. Image sizes with all needed attributes are already passed with add_image_size, also as you can see in my example in first post adding custom sizes can be easyly automated. A perfect and not so complicated solution for me would be adding a filter which has an array of all image sizes that should be included where by default only wordpress standard sizes are flagged “true” to be in the output (At this point plugin would work exactly same as now) and all other could be also included just by switching their flags to true.
Thank you for help and for this plugin.
Forum: Plugins
In reply to: [Geo Mashup] Using Google v3 API with mapstractionHow could I miss it? Anyway thanks for this simple answer ??