JohnDar Posted August 9, 2022 Posted August 9, 2022 (edited) My Forum is quite image heavy, with members posting photos of their prop building progress. Given that most images only need to be viewed by others at a small scale, I use thumbnails within posts. If anyone needs more detail, they can expand the thumbnail into lightbox, but generally, having thumbnails keeps everything tidy, preventing image heavy posts from taking up acres of space. However, there has been one thorn in my side for at least the last six years... the fact that if photos are attached but not manually placed (by the poster), they are positioned by default in a vertical column, which takes up space and looks really untidy... I then have to edit the post and remove all the returns to get the thumbnails to display in a (more pleasing and) compact row... As you can see, rows take up much less space and are far easier on the eye. Would it be possible, at some point, to add in an option to choose how thumbnails run, within a post? This would save me hours of editing. Edited August 9, 2022 by JohnDar Askancy and SeNioR- 2
Luuuk Posted August 10, 2022 Posted August 10, 2022 (edited) @JohnDar For years I use a workaround by editing a theme template: core > global > editor > attachedImage > remove the <p> tag at the beginning and at the end: <p><a href="<fileStore.core_Attachment>/{$url}" ..... alt="{$title}"></a></p> EDIT: The change will apply to the new content only. Old posts still need to be manually edited. Edited August 10, 2022 by Luuuk JohnDar and Ibai 2
Luuuk Posted August 10, 2022 Posted August 10, 2022 For reference, I found also this old topic and the same "solution" was given via Ticket: JohnDar 1
JohnDar Posted August 10, 2022 Author Posted August 10, 2022 @Luuuk Thank you for that, very helpful. 🙂 However, given the current climate, where theme modifications are being actively discouraged and some editing features removed, I think an ACP based solution is still a valid proposition. Luuuk 1
Luuuk Posted August 10, 2022 Posted August 10, 2022 (edited) @JohnDar I think no extra options needed and they just should remove the <p> tag. That would cover the most extreme scenarios when a lot of images are uploaded and posts get very long. If a user wish to place them vertically then that could be done manually (like it is now to place them horizontally). Edited August 10, 2022 by Luuuk JohnDar 1
Recommended Posts