Thank you. It is not necessary now. For me would be more important feature to add more than one POI in one post.ostridm wrote:Of course I can tell you how to do it for your unique setup.
attachments are quite simple - all attachment related things are managed by the board not by mod. So here it utilize the power of phpBB engine. Opposite to this the post marker editor is built-in to board posting editor form. It will take too much work to provide functionality for multiple in place markers editing inside board post form. Now i see the only way with standalone editor which may be opened from the viewtopic script by the special link bound to the post to create new marker for the post. But I do not see the good idea how to manage (delete/edit) extra markers without map opening just in viewtopic script.leschek wrote: 2. No. I would like to add more markers to topic map in one post. Similarly as you can do with attachments (you can add a few attached photos on map in one post now).
I have not checked it but think that not all the mod supported maps will draw markers as resized ones. Probably it will not work. The second case with larger image generated is preferable. But the similar functionality exists in phpBB from the box - the image attachment thumbnailing by default it is switched off. look at the postleschek wrote: 3. I found some files in /files/ folder (similar names as other files but starting with ymsm_2_......), so I think those are the image-icons generated by your MOD. If they will be a bit bigger than now, they can be used for icons (resize them) and also for balloon (in default size). On other hand map will have to load bigger pictures so it can take longer. Ideally there would be two sizes - one for thumbnail generated, when user add attachment to the post and second generated, when user opens balloon (and then stored), but it seems to be too complicated.
Sorry. no options to regenerate... by the momentleschek wrote: 4. There is a few options in mod settings "Attachment icon width" and "Attachment icon border" where admin should regenerate thumbnails, but I didn't find where. There is "Create thumbnail" setting in Attachment setting, but I guess it just generates thumbnail when you adding new photo-attachment.
this is for native phpbb thumbnails - see aboveleschek wrote: There is "Create thumbnail" setting in Attachment setting
It seems to be more complex than I thought. I though it will be possible to only add link "Add another POI", it opens the same post marker editor as we already use, and give to the new POI unique ID.ostridm wrote:attachments are quite simple - all attachment related things are managed by the board not by mod. So here it utilize the power of phpBB engine. Opposite to this the post marker editor is built-in to board posting editor form. It will take too much work to provide functionality for multiple in place markers editing inside board post form. Now i see the only way with standalone editor which may be opened from the viewtopic script by the special link bound to the post to create new marker for the post. But I do not see the good idea how to manage (delete/edit) extra markers without map opening just in viewtopic script.
Code: Select all
[mapmarker=45.0,179.0]Title|Description[/mapmarker]