chlorophylls: (❦ devil fusion.exe)
chlor ([personal profile] chlorophylls) wrote in [community profile] septentrione2018-10-06 04:04 pm

Icon table generator feedback post


Public comments/suggestions/bug reports/etc. feedback post for my Icon Table Generator, hosted on GitHub.

Source code is on GitHub If you have a GitHub account, you can also post an issue directly. The repo has been privated now.

About the Icon Table Generator
Webapp that instantly generates HTML that you can copy and paste to display your avatars/graphics in a nice, neat, numbered table on Dreamwidth (or anywhere that accepts HTML).

Uses HTML, CSS (Bootstrap), and Javascript (jQuery).

Features
  • Adding image links one at a time
  • Adding multiple image links at a time, separated by new lines, but also allows for custom separators
  • Adding all images from an Imgur album thanks to integrating the Imgur API
  • Table style customization
  • Icon cell (spacing, background color) customization
  • Numbering (big or small or regular font size, color) customization
  • Ability to preview table
  • Can automatically extract direct image URLs from HTML code pasted in the "Add multiple links" text area. Primarily developed the feature for imgbb but should work on any image host that allows users to copypaste mass embed codes that contain direct image URLs.

Notes
  • The table is centered by default. Use the table alignment buttons to align accordingly.
  • This webapp only makes GET requests, not POST requests.
  • The Imgur API rate limit is described here as follows:
The Imgur API uses a credit allocation system to ensure fair distribution of capacity. Each application can allow approximately 1,250 uploads per day or approximately 12,500 requests per day. If the daily limit is hit five times in a month, then the app will be blocked for the rest of the month. (...) We also limit each user (via their IP Address) for each application, this is to ensure that no single user is able to spam an application.
  • What this means is that, for each day, this application allows for up to 500 different users to to process 25 Imgur albums each. Or, 1 obsessive user to process 12,500 Imgur albums. Or 125 users to process 100 albums. Do the math, etc.
  • Either way, based on current usage statistics, the application will probably never hit this daily 12,500 request limit, so don't worry about it too much.
Credit Changelog
  • 12/13/19 - Implemented table alignment options.
  • 1/26/21 - Updated multi-link adding to split input by new lines, instead of semicolons. Users can choose their custom separator with new input field (activated by check box).
  • 2/19/22 - Some refactoring on the back end, and some cosmetic changes for wording. Apparently people on IJ and LJ are also using this generator too. Thanks for all the support, everyone 🙂
  • 2/24/23 - More refactoring and frontend updates. The "add multiple links" area should now be able to clean up and extract direct image URLs from HTML code pasted in, with instructions on how to do so when the "Help" button is clicked. Also added some cosmetic changes like a shiny new favicon. Changed Imgur API application client ID and privated the repo for the sake of, well, privacy.
bats: (❝COMICS❞ › damian wayne)

[personal profile] bats 2018-11-16 02:26 am (UTC)(link)
you are my hero
aurora_amethyst: Lucy Pevensie when she first enters Narnia and notices the snow. (Default)

[personal profile] aurora_amethyst 2019-12-12 07:49 pm (UTC)(link)
Thank you for this!

I just have one suggestion: I was wondering if you could add an option to left align the table.
aurora_amethyst: Haibara sitting on the stairs with a white wall with two teal-colored arrows pointing to the left (animation)

[personal profile] aurora_amethyst 2019-12-29 11:40 pm (UTC)(link)
Thank you so much! ^^ I really appreciate it!
webzip: ps4 - masked (14)

[personal profile] webzip 2019-12-20 10:25 pm (UTC)(link)
Thank you so much for the hard work you put into this. Will definitely be my go-to for icon table generators: yours is so organized and easy to work with! A bonus is the generator itself is really nice on the eyes and pretty :)
dumblove: (Default)

[personal profile] dumblove 2021-04-19 02:00 am (UTC)(link)
Just wanted to say I highly appreciate that you made this. I've just started iconning again recently and this has been tremendously helpful in cutting down time for uploading and arranging them in a post. Thank you for the hard work!
green: (guardian: WOW)

[personal profile] green 2021-11-13 01:19 pm (UTC)(link)
omg just found this THANK YOU! You have made my life so much easier and no longer will I dread posting the icons I've made!
internes: ([juice=juice;dambara])

[personal profile] internes 2023-02-22 07:24 am (UTC)(link)
i know this is an old post but would it be at all possible to have a way to use an imgbb album along with/instead of imgur? if not, then no worries!! this is the nicest table generator i've seen in years so i'm glad that i won't have to paste links one at a time either way 😅
internes: ([weki meki;yoojung])

[personal profile] internes 2023-02-22 11:17 pm (UTC)(link)
that would absolutely work if you're able to do that! thanks so much for the response :)
internes: (Default)

[personal profile] internes 2023-02-25 04:38 am (UTC)(link)
works like a charm!! thank you so much 💖
barbaratp: https://sheliak.dreamwidth.org/125518.html (Default)

[personal profile] barbaratp 2023-03-10 12:04 pm (UTC)(link)
Gods bless you amen, you saved lives with this code 😁
chiming: (Default)

[personal profile] chiming 2023-05-11 10:04 pm (UTC)(link)
Suggestion: display:flex + display:grid instead of table

It's a little more code, but should be easy to update the generator, and it's much more mobile-friendly. :)

This does expect all icons to have an intrinsic height and width of 100px; to enforce even blocks where icons might be different sizes, you'd want the following to replace each icon (basically: height:100px; width:100px; on the DIV parent of the IMG, and margin:auto; on the icon itself):
(Setting images to display:block removes the tiny gap below images that otherwise shows up in both tables and divs; they're natively an inline element.)

These settings are the equivalent of:
- 5 images per row, 2px padding on icons, 4px between cells
-- max-width:calc((100px + (2px * 2)) * 5 + (4px * 4)): 5 columns of 100px with 2px padding on either side, plus 5-minus-1 * 4px for the gutter between cells.
- Icon border color: #eee, table background color: left blank, number color: #000, number background color: #ddd, text before number: pic
Edited 2023-05-11 22:09 (UTC)
motherfuckers: (Default)

[personal profile] motherfuckers 2023-05-29 09:14 pm (UTC)(link)
hi hi! i'm not sure if you're still checking this post - i'm having a lil issue using the uploading imgr album option in that ... it is not working. just checking if there is a fix i can do?
motherfuckers: (Default)

[personal profile] motherfuckers 2023-05-30 07:08 pm (UTC)(link)
basically when i add the album, it doesn’t do anything, both on chrome and safari - here’s a screen recording for visuals https://imgur.com/a/jBb82hz

and this is the album: https://imgur.com/a/85kTCAf

i was wondering if it was taking a bit due to the number of icons in the album, but even leaving it for a bit it’s not doing anything
motherfuckers: (Default)

[personal profile] motherfuckers 2023-05-30 07:26 pm (UTC)(link)
ah AHHHH it was 🫠 incredible observation on my part
vorpalsnickersnack: (Default)

[personal profile] vorpalsnickersnack 2024-11-11 01:52 am (UTC)(link)
Hello! I seem to be having an issue.

When I link this album https://imgur.com/a/cookie-run-kingdom-Y04E4vN in the album adder, nothing happens and just keeps showing zero. If I add the images individually, it works just fine, though.
picnicnic: (belle lj old)

[personal profile] picnicnic 2024-12-25 09:15 am (UTC)(link)
It's so weird, because up until today I never had this issue, or any issues with uploading from private albums! Glad you have this open channel where you provide solutions, thank you! And thanks for creating this, it is immensely helpful.
disasterhearts: (pic#17149195)

[personal profile] disasterhearts 2025-03-01 02:33 am (UTC)(link)
thank u for my life