I'll write more about it soon, but there is a new image upload system for this site. Assuming you have upload privileges, you can access it here:

/upload2/

Unlike before, this will resize your photos for you. I'm doing this to make it easier, but also to get the full resolution images onto the website (when I resize them I save the originals into a subfolder.) Because screen resolutions are increasing dramatically - on mobile devices and on retina display MacBooks - we will want higher resolution images one day (soon). So now we will start saving them so we can be ready. The downside here is that uploading a 4MB images takes a lot longer.

Unlike before you can now upload multiple photos at once. This is assuming your browser supports it. On the Mac just command-click on as many files as you want in the file browser window instead of just clicking a single file like you used to do. On Windows it's probably a right click. This works from iOS too (where not having to resize before upload makes posting from there possible.)

And finally, unlike before, when the upload is done you get a page showing thumbnails of what has been uploaded, followed by a textarea posting box that is already populated with the code for posting the images you just uploaded. Select the page you want to post to from the drop down menu. Add text or rearrange photo order as you see fit. Then click post and you'll be taken to the page where the post was made.

I'd love feedback on this. It's still rough. No layout or styling has happened yet. But it looks like it is functional.

- jim 2-13-2013 9:25 pm

Hi, Jim,
I don't know if this is connected, but my browser is crashing when I visit my existing [images] page. I have it set to load 1000 images so I can page through it more quickly. It's just text so that hasn't been a problem before. I got it to load once tonight (and uploaded a test image the old way) but it's crashed every other time I clicked on the page.
- tom moody 2-14-2013 2:26 am


It might be my connection speed (Comcast!) - will try again in the morning.
- tom moody 2-14-2013 3:57 am


That page does load a thumbnail for each image (so when you mouse over a file name you see the thumbnail at the top of the page). All of those are preloaded. So that's 1000 HTTP requests right there to load the page. Plus my javascript that does this is very old and not really optimal. So that's probably the issue - something about that is overflowing your browsers memory. Not really worth fixing at this point since that whole system is going to be changing. For now I'd say just reduce the 1000 to something smaller. If you can't even load the page to reduce the number try turning off javascript just to get the page to load.
- jim 2-14-2013 2:40 pm


Thanks - I reduced the number to 250 and it seems to be working OK.
- tom moody 2-14-2013 7:40 pm


The new upload worked fine. I posted a couple of images to my /general page (as new posts).
One issue I noticed has to do with the 2013 archive.
See error language on this page.

This isn't a request for a year (which I know is disabled) but rather the 2013 position in the archive tree (which should show Feb posting dates below it). The one for 2012 works.
The monthly archive for Feb '13 isn't showing any posts (also daily). But the posts are there.


- tom moody 2-14-2013 7:50 pm


It's probably too early to be turning this on, but here goes. I've changed the [post] function for logged in users. This is only for top level posts and not for comments. Works basically the same as before except there is now a way to add images directly from the [post] page rather than uploading them previously through [image upload] and then having to go through the hassle of copying the uploaded image id into your post. To use this just click 'Add Images...' below the posting box. This will show you a local file browser window where you can select one or more files (control-click on Mac, right click on Windows, to select multiple files.) Once the files are selected click 'Start Upload' to upload the file(s). There is now a file upload progress bar. Successfully completed file uploads will appear in a list below showing a thumbnail, the file name, file size, and an 'Insert image' button. Clicking the 'insert image' button will insert the proper HTML for the image into your post at the current cursor position.

This is still a work in progress but I'd love to start getting feedback. I'll follow up with some more specific questions you might be able to help me decide about. And eventually there will be a way to browse already uploaded images, as well as to upload and insert different media types.
- jim 2-18-2013 5:27 pm


Tom, archive bug is fixed. It's funny to go back through code I wrote so long ago. It's really pretty horrible. The archive years are just hard coded in and I only went up through 2012 when I wrote it figuring that was so far in the future the code wouldn't be running after that (nod to Terence...)
- jim 2-18-2013 5:37 pm


Thanks, Jim. The links to monthly and daily posts for '13 are still pulling up blank pages (see the February, 18, and 14 links here: http://www.digitalmediatree.com/tommoody/general/archive/complete/. I hope I'm not being too annoying.
That's funny you chose 2012 as the end of the world!
I finally got around to making some changes on the Doris pages (my first website ever). I was using two blockquotes to give some margin for the text but as screens got bigger than 600 x 800, the whole block of text was extremely "not centered." I used your HTML table code for regular Tree pages so now the text floats in the middle of the page (right to left) no matter how large the browser window is (I hope this is true on all browsers.)
The new post-with-upload works fine, thanks.
- tom moody 2-18-2013 7:00 pm


I'll look into the archive thing. As for my HTML code for regular tree pages I can absolutely not vouch for it other than to say that it's been in use for a long time and at the very least no one has cared enough to complain about rendering issues. Still, it would be laughable code to anyone versed in 21st century HTML/CSS who happened to view the source.

And just to agree with your pain I'll say that the proliferation of screen sizes (and pixel density!) is the main issue with creating modern web pages.
- jim 2-18-2013 7:12 pm





add a comment to this page:

Your post will be captioned "posted by anonymous,"
or you may enter a guest username below:


Line breaks work. HTML tags will be stripped.