Hi,
I released a new version (0.9) of my image extension for kirby. It is a complete new rewritten plugin.
I action can you see it on my private webpage.
Complete new written (integrate support for complex image tags like picture)
New project structure for easier integration and update via git
Default tags are imageext and imageext_gallery, but you can reactivate the support for the other tags (kirby.extension.imageext.support.tag.image, kirby.extension.imageext.support.tag.image_gallery)
Attribute resize is deprecated (currently it is working), please use in the future mode.
Very nice! I am just starting to implement my website with Kirby. It would be nice to have the water mark (āwater stampā) function working.
I see your watermark is placed only at the bottom. I used to have it placed in the middle over the whole picture and then 50% opaque - looks horrible, but really keeps away the copy cats.
Anything like this planned in the near future?
This watermark is manuell set by lightroom. It is not the solution what I like to implement via this plugin. But at the moment I am working on the google maps plugin (next days). After that I will work on the next feature of the image plugin (watermark, or a other feature of my todo list)
The watermark should support opaque, but there a some problems with the GD. GD only support opque on the easy way for png, not for jpeg. I have an idea how I make it also for jpeg. But we will see it in the next weeks (Beware this plugins are free time projects).
When the watermark is finished, it should be possible to set it on any position you like over the image (top-left, top-right, or per pixel, ā¦)
When you have any ideas for future function. Please post it here or better on GitHub.
I posted some ideas for the position of the watermark.
A other feature what is important (I think so), is to add a other thumbnail of the same image as image target.
Example:
One profile for the thumbnail and the second profile for the link target with watermark.
It would be nice to have a central place where to configure what the watermark on your kirby site will look like for all (default) images. That way all pictures on your site are protected. You should be able to overwrite the default where necessary.
The transparency of the watermark isnāt that important. You can also use a grey font type color and use thin letters as a work arround.
The central place for the configuration are the profile feature of the ImageExt plugin. A missing part is (like I wrote in my previous post) link target profile.
In the first step, I will only support image watermarks.
Figure caption, link title, img title, img alt can have a field of file or page as source. {file-field} as content to the attributes. In the next release it will be possible to use {page-field} and the placeholder will be usable with static text.
Add support for gallery and image snippet. Example snippet are in the subdirectory of this plugin.
Add licence file
INFO:
Donāt forget to update the webhelper plugin.
Hi, Iām building my first kirby page & wanted to use your plugin for creating galleries in blog posts, but being the basic kind of user I am, I have a couple of questions.
The plugin is not working just after installation, so I assume I need to write the setup into config.php like this c::set('kirby.extension.imageext.support.tag.image_gallery', true);
etc, or is there a better way?
When I try to use the gallery, it seems to be looking for images in the thumbs folder, is there a way to change that?
Thank you for the plugin, any guidance will be very much appreciated!
Per default only the imagext_gallery and imagext tags are active. When you add c::set('kirby.extension.imageext.support.tag.image_gallery', true); or c::set('kirby.extension.imageext.support.tag.image', true); to your config.php, you can activate the image_gallery and image tag support.
Yes, it is using the same function for thumbs like the normal image tag. So when no thumb for the image exist, then the plugin create the thumb and save it in the thumb directory. So for the next time, the plugin donāt need to recreate the thumbnail. You can change the thumb directory (for kirby) over the site.php file. -> customizing folder setup
Hello,
Thank you for getting back to me, I really appreciate!
Iām still having problems re: 2. The image_gallery tag is now activated, but when I put this in my .txt: (image_gallery: bike.jpg, camera.jpg, gadget.jpg)
What did you mean exactly with āResize method as option for the config.php (resize, crop, none)ā. You are right, there is no general option for āresizeā method. But you can use the ākirby.extension.imageext.profilesā to define a own default profile and set this profile as default.
Example: https://www.fanninger.at/thomas/works/kirbycms-extension-image -> Search for Profiles
Ops, i thought the profiles are still on the ToDo List (Readme on github)
Thanks for the input about the single image. But the link_url must be the link to the full resolution image. Certainly I can care for the link manual, but I would prefer the same automatic way as from the image_gallery:
<a href="Link to the image" class="image-link"> <img src="Link to the thumbnail" class="image"> </a>