New Issue Image Upload Function

Moderators: DarthSkeptical, Fnord Serious, Chris, spid, Skyhawke, Darth Kramer, mikebo

User avatar
Chris
Cosmic Donor
Cosmic Donor
 
Posts: 1038
Joined: Sun Nov 13, 2005 4:48 am
Location: Toronto

New Issue Image Upload Function

Postby Chris » Tue Aug 26, 2014 1:46 am

I've replaced the old issue image upload function with a new one that should make it much easier. The following changes are now in place:

  • You only need to upload one large image now
  • That image needs to be at least 400 pixels wide
  • I've tripled the maximum file size to 300KB
My testing has been successful but if you run into any problems, please let me know ASAP either by direct message here or on Twitter (@comicbookdb).

User avatar
Soda
 
Posts: 125
Joined: Fri Jun 10, 2011 4:12 pm

Re: New Issue Image Upload Function

Postby Soda » Tue Aug 26, 2014 1:49 pm

Way cool! :) *tumbsup*

User avatar
angeltread
 
Posts: 284
Joined: Mon Oct 08, 2007 11:18 pm
Location: Peoria IL

Re: New Issue Image Upload Function

Postby angeltread » Tue Aug 26, 2014 4:27 pm

yay... finally we can have some quality images in the system

Uthor
 
Posts: 168
Joined: Fri Jun 03, 2011 1:15 am

Re: New Issue Image Upload Function

Postby Uthor » Tue Aug 26, 2014 4:56 pm

angeltread wrote:yay... finally we can have some quality images in the system


My images have always been quality. :evil:

But, this works great. I can unlearn "ctrl+R, 100, enter, crtl+shift+s" now!

User avatar
mikebo
 
Posts: 401
Joined: Thu Feb 07, 2008 5:56 am

Re: New Issue Image Upload Function

Postby mikebo » Tue Aug 26, 2014 5:21 pm

Uthor wrote:But, this works great. I can unlearn "ctrl+R, 100, enter, crtl+shift+s" now!


I had to stop myself from uploading covers last night, because I kept creating unnecessary thumbnails.

User avatar
Chris
Cosmic Donor
Cosmic Donor
 
Posts: 1038
Joined: Sun Nov 13, 2005 4:48 am
Location: Toronto

Re: New Issue Image Upload Function

Postby Chris » Tue Aug 26, 2014 6:09 pm

I've also updated the home page so that the Last 15 Reviews section is no longer visible and has been replaced with the Last 15 Issues Missing Covers. This gives people a very clear look at what recently added issues still need covers. As covers are added to these issues, the list should update to reflect that.

User avatar
mikebo
 
Posts: 401
Joined: Thu Feb 07, 2008 5:56 am

Re: New Issue Image Upload Function

Postby mikebo » Tue Aug 26, 2014 10:44 pm

Chris wrote:
  • That image needs to be at least 400 pixels wide


To reflect this change, could the Missing Entries listbox that appears on a title.php page have an additional report for large images that are currently less than 400 pixels wide? Alternatively, the current coverlarge type could report for both images that are less than 400 pixels wide, as well as those that have no image uploaded at all.

As an example, this title currently states 3 issues are missing large images:
http://www.comicbookdb.com/title.php?ID=37092
If my suggestion is applied, the listbox would now say 28 issues are missing large images!

User avatar
Chris
Cosmic Donor
Cosmic Donor
 
Posts: 1038
Joined: Sun Nov 13, 2005 4:48 am
Location: Toronto

Re: New Issue Image Upload Function

Postby Chris » Wed Aug 27, 2014 2:07 pm

It's not something that can easily be done initially - the width of the image isn't stored in the database so every image would have to be checked each time that title page loaded. Maybe not a huge problem for a four issue limited series, but for Action Comics, it would bog down the site and take forever to load as it checked hundreds of images each time it loaded.

That said, I'll see what I can come up with as a work around :)

kjj
 
Posts: 3
Joined: Mon Aug 15, 2011 8:03 pm

Re: New Issue Image Upload Function

Postby kjj » Wed Sep 17, 2014 7:14 pm

Should be easy enough to write a script to roll through the old images once and stash the dimensions in a table.


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron