[FREE/PAID] NO Upload Button & Improved Attachment User Interface Mod

Started by FrizzleFried, May 19, 2022, 10:44:18 AM

Previous topic - Next topic

Antechinus

Quote from: Karmaster on June 02, 2022, 04:30:16 PMLOL, @FrizzleFried, do you have any bugs/errors/warnings in browser console Antechinus mentioned ? (with unmodified theme and code)
Can you test it ? I think if there is no bugs, nothing should be fixed ;)
I'll test it over the weekend. :)

FrizzleFried

Yeah... at first I was 'WTF' and even asked Ant if it was a bug...

...but the more I thought about it the more it makes sense.

:)


Sir Osis of Liver

#162
Just noticed the width/height options in attachment_previews don't work.  They don't resize the image, just add space around it.
"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns

Sir Osis of Liver

Ant, I'm trying to work your code into my custom theme to place attachment previews in two columns as you have them, but not having any luck.  Don't want to change anything else, just the size and placement of the previews.  If I use your post template and index.css it doesn't work right. :(
"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns

Antechinus

If I use them, it works perfectly. Which I why I coded them, of course. And the width/height options work on my test site too.

I have not just edited Post.template.php and index.css. Your problem is probably related to one of the other files in the mix.

Sir Osis of Liver

Width/height is working now here and on my test install.  Arantor posted elsewhere that it was reported as a bug, but it should either work or not.

Your zip contains a lot of files and changes a lot of things in addition to attachments.  I just wanted to use your format for stacking attachment previews two across, I've made other changes in post template that I'd like to keep.
"The best laid schemes o' mice an' men / Gang aft a-gley." - Robert Burns

Advertisement: