Image uploading
Several major changes have been made to image uploading. I hope this makes the experience more pleasant. Please let me know if you encounter anything that seems wrong.
-
Image uploader now supports drag and drop from computer folders and from other websites.
-
You can also upload images the classic way, by clicking the drag and drop area.
-
Copy + paste of image URLs is also supported. Copy + paste of actual image files is supported (from websites only). Note that you must put your cursor in the 'paste image or URL' box for this to work.
-
.webp uploads are still not supported (yet), but you can copy the image and paste it directly, and it will be saved as a .png instead.
-
For WordPress, Wix, Twitter, last.fm, and Ameba Owned, the system will attempt to grab the biggest version of the image (works only with drag and drop or copy + paste URL).
-
Fixed many bugs. Namely: issues with 'default image' and 'scanned by vkgy user' fields, and deletion issues, among many others.
-
Many aspects of the UI/UX have been improved.
All updates
- bug fix Corrected typo in image upload box.
- new feature Made several changes to image template in images sections. Updated image sections so that thumbnails are links to full-size images. Simplified markup of 'is_default' and 'is_exclusive'. Changed 'is_default' to radio style input, so that, when an image is marked as 'default', other images are appropriately marked 'not default'. Moved results box and added a new 'uploading' box.
- new feature Made several changes to style of image areas in 'images' sections. Altered thumbnail style and made 'status' section more visible. Made more responsive to small screens. Simplified width of 'data' section. Fixed error where empty list was displaying a top border. Updated 'data' section to be invisible while image is style uploading. Updated 'uploading' text to be invisible when an error is displaying.
- new feature Made several changes to image uploader script. Corrected an error where radio inputs ('is_default') weren't being set correctly. Added error message for when a website has blocked drag and drop upload. Changed CROS proxy to self-hosted one--will have to keep an eye on this. Added check where if image uploaded is only image for that item, it's auto set as the default. Moved init scripts to after ID has been inserted for a newly-uploaded image; this should fix issue where images that were just uploaded weren't deleting correctly.
- minor addition Updated upload_image function to send back URL of image.
- bug fix Updated image_update function to treat is_exclusive as an array, since several inputs share that name.
- bug fix Changed how 'is_default' is handled when rendering image sections, to prevent errors where random images were setting/unsetting themselves as the default.
- improvement Updated script function to include time in caching string, since it already does a check for file modified time anyway. This should fix issue with old versions being cached incorrectly.
- bug fix Updated delete_image function to correctly do fake delete if image is connected to more than one item, and real delete if one item or less. Also corrected language about only moderators being able to delete images.
- bug fix Corrected update_image script to make sure that it only links images to items once. Also changed variable names and added notes to make function more clear.
- improvement Changed error message for wrong upload types.
- bug fix Fixed bug where uploading text in image upload section would be visible when it wasn't supposed to be.
- minor addition Added onError callback to inlineSubmit script.
- new feature Added some additional error handling to image upload script.
- improvement Slightly changed style of image gallery on artists pages.
- improvement Changed number at which image galleries on artist pages require 'show more' to be clicked.
- bug fix Fixed conflicts with master branch.
- improvement Moved some image upload styles to stylesheet, added 'accepts' attribute to image upload input.
- bug fix Updated regex in uploadImage script so that images dragged from Twitter will be saved as jpeg.
- improvement Changed height of thumbnails in image upload area, and made status icon visible only when something's happening.
- bug fix Changed how update_image function handles default image link; was causing unnecessary error message when adding cover art to releases which hadn't been submitted yet.
- bug fix Updated message element in image upload section to only grab error messages from images; it had also been displaying error messages from adding a release, for example.
- improvement Updated styles function to cache stylesheet based on date and time.
Want to support future updates?
vkgy runs on a custom platform developed by a very small team. If you appreciate what we do and want to help us grow, please consider becoming a VIP member!
Support vkgy