Thursday, October 28, 2010

Footer?

Right now don't have one planned, not sure if one is needed. I think I can put the site info on the contact page... unless I really need a site map, but I don't think I do... I don't have to link to the credits/process book from the site do I? There will be a link to it from my portal page (obviously).

This weekend the image uploader will be working.... This is the one class I really can't fall behind in... that or portfolio prep, which I'm feeling behind in. I'm much more productive Wednesday night's than Tuesday/Thursday... maybe because I have a class earlier in the day.

My admin page rocks

At least one page is functional! I forsee a lot of cleanup for me in the future... I'm sure I have at least 30 loose ends to clean up as of now, but hopefully they don't take very long to do!

The image uploader is still giving my a little trouble, so I'm considering rethinking it a bit... I can resize images on the fly pretty easily, but obviously if I have to do a large batch at a time that won't be efficient. However if I only have to show one image at a time, such as the image preview page, that wouldn't take very long at all to resize it on the fly....

I still have to resize the thumbnail on download, since I have to show a lot of them on one page, but maybe the php book will have some insight to a better method.

Wednesday, October 27, 2010

Dislike's php

Okay not really, but there are times when I want to shake the laptop and knock some sense into it! I've used this code before, no reason it shouldn't be working, except it isn't. It's passing through all the variable's, the image is uploading into the correct folder, however it won't insert ANY data into the database....

Not to mention my hands are freezing, I think I'm sitting under a vent. I could use Starbucks...

Process Book Edits

Navigation Map
Asset List



I've realized that no matter how much I plan for a site, I still end up adding in pages and working through how things will flow as I'm coding. Obviously it would be easier if that didn't happen, but thus far, such is my life :)


Tuesday, October 26, 2010

Images needed

It seems like I will be able to fit 7 images across, then scroll down for 7 rows, with pagination links at the bottom (right now just need the next/previous buttons, will work on page numbers at a later date if there's time). That means I'll need to import at least 100 images this weekend for testing.... Yikes! Hopefully my photography friends won't mind and that they upload at least 25 pictures each... This is why I'm not sure if I want to limit it to students (well, AI students, one just graduated last quarter, and I have a bunch of friends in other schools). I guess maybe just the .edu email account?

Gotta have content! And a lot of content at that if I want to have my word/tag cloud!

Image Uploader

So close to working!!!!!! It's uploading into the two correct folders, resizing... but not exactly correctly... But it works :) Just have to figure out what the heck is going wrong, and that will hopefully be working this week. If it is, I will be in business, and close to being ready for the beta launch next week (given I can reach a few of the photography students).

Right now I'm not verifying their emails are @stu.aii.edu, but I'm not sure if that's a big deal to me right now.... what do you think?

I have the admin account, rough coded the admin page, so that will be done on time. Everything else seems to be moving along just fine... Watch everything break tomorrow since I said that :)

Saturday, October 23, 2010

Making up time

Being sick blows... At least it was now, hopefully no more the rest of the quarter!

I've been keeping track of the pages I'll need to do, and the total is up 19.... a bit higher than I thought. I do need to spend some time updating the process book, that has to be rocking by week 11 (obviously). The design might get tweaked a bit, and I want to find a printer who can print it to the edges of the paper (without me having to cut it).

Wednesday, October 20, 2010

More notes to self

I suppose I could edit previous posts, but then I wouldn't get credit for them!

Crappper.... well I guess not completely crapper, but poop at least. I'll need there to be a butter on the "image details" page that only the admin can see that will allow them to remove the image. I was going to have a menu for that on the admin page, but since they admin should view the image before deleting it, it makes more sense to have it on the page...

I'll also need to make sure I have a way to remove flags once they are dealt with!

Flagging system

Hopefully this won't drive the admin nuts, but the flagging system seems to be the easiest one (for now) for "moderating" the website. If there's time, I'll let the admin "create" moderators who could also respond to flagging comments, but that's really if I'm finished like 8 with nothing left to do :)

Image Uploader

The bane of my existence! I have the pieces, it's getting them to work together. I can resize my image into the correct sizes, but it outputs into the browser instead of saving in the folder... Crazy that my site could be working now if I could get this crap to work!

Grrrrr.............. If I leave early today it's b/c I've driven myself mad with this and have to step away.

Saturday, October 16, 2010

Trying to think of what to post

I'm a little sidetracked, and used all my "good" stuff the previous post....


So far cross browser compatibility seems good, will have to test out on safari to verify the slide out div works. If it doesn't, no big deal, I'll re design that little part. I'm not thrilled with the login part as it is, but it functions, which is the main purpose right now.

I do have to remember to do the admin page, and it will include:
Number of Images
Number of Members
Number of Downloads
Flags
Dropdown of members incase someone should be removed from the site (which would inturn remove their images)
Image search to remove them from the database

There's a few other things I'd like for it to have, but I think that's the bare minimum. Thoughts?

This week's List

Image Uploader - I've been putting this off, it's new code, and it's intimidating... I have to upload the original image, then resize it twice. Once is just shrinking it by a percentage, the other is resizing then cropping into a square. Not the easiest of feats. Once it's working though, I "should" be golden, and will hit the 5 week beta release. I *really* hope the image uploader gets done Monday, but the dog always requires attention which makes working from home difficult.

Design wise I'll be tweaking a lot over the next week weeks, but that's second to the php. My theory has always been if it doesn't work, it doesn't matter how pretty it is.

Wednesday, October 13, 2010

Reminders

The first one needs to be that I check the blog to see what I'm reminding myself to do!


Add the terms of use to the site and a check box to the registration page for when users sing up.
Find the jquery I will be adding to the site to make it look pretty (implementing after week 5).


Need to do before week 5:
Finish all php (for the most part at least), including the image uploader (actual code to upload and resize the images, and the code to generate the folder dropdown), image downloader, image subscriptions working, correctly crediting photographers for images downloaded...


Need to do in weeks 6-8:
Image tagging, image, flagging, cleaning up the css and making everything look pretty...


Note to self:
Create an admin login to view the stats of the site (the number of images, users, photographers, the number of downloads, removing a user/photographer, image, etc).

A great list that I can't wait to edit

titled, the "Done List"


login
profile
folders
view image



The "In Progress" List:

image uploader
image display
subscribe

Tuesday, October 12, 2010

Update

Login is done, working on the image uploading code now. "Shouldn't" take long, just a lot of code to write to get it to do one little thing (okay maybe not little, just take an image, resize it, then crop it).

I'm trying to get all the php in asap, so I can get users to start uploading content. The sooner I have a bunch of images to work with, the better! There's also a few things dynamically created, so I'll need to have that content before I can have the user using it.

Thursday, October 7, 2010

Time management

I really thought taking only 3 classes would give me a lot of time to do all my projects... why is it I already feel behind? I swear there isn't enough time in the day, but if there was more, I'm sure I'd still complain.

That being said, this weekend will be the image uploader, and it WILL work (come hell or high water). Once that's working, it's onto the profile page and image display. The search (obviously) will have to work, that's the point of the site, but by week 5? Week 5 I'll enlist my photography friends to create accounts and upload images, and once I have those to work with I'll have the search working by week 6. Can't search for stuff that isn't there. I suppose I can create an account and upload my own images, but we'll see how much time I have between the php and portfolio prep.

Wednesday, October 6, 2010

Code Checklist

Login - DONE (needs to be tested)
Check to see if logged in - DONE (needs to be tested)
Image Uploader - in progress, tutorial found (have code from previous project to upload a single image, need code to resize image into 2 sizes in addition to the original)
Image Display - working code from a previous project, with pagination, not yet implemented
Image Download - researched, tutorial found
Registration - DONE
Contact - researched, have working code not yet implemented
Download subtracting from user subscription - have ideas in my head, not sure if they will work, but have ideas
Downloaded images adding $$ to photographers accounts - ideas in my head, should work


For the whole image downloading, once a user clicks on the "download image" link/button, a separate window will open, and code on that page will be doing 3 things. The first part will be getting information passed through from the link, to see which image is being downloaded and credit the appropriate photographer. Secondly, which will actually be happening first, the user's info will be passed through to check to see if they have available credits to download the image. If not, they will receive an error message. If they have a credit available, one credit will be deleted from their account, and the image download link will appear.


On the users profile page it will display the credits they have available.

Possible addition

This is more so a reminder to me. On the image details page, once you've downloaded the image, most professors make you then site the image. There would be a button that once you click to "site this image" a line of text appears below the button which is the MLA citation with author and image info.

That should take all of 20 minutes to add, but since this website is for student use, I think it's necessary.

I also need to remember to write up the "Terms of Use".... I'm sure there's a generic once I can use as a base. Just need to make sure I can't get sued :)

Important Links

Image Preview: http://justinfarmer.com/?p=14
Word Cloud: http://net.tutsplus.com/tutorials/javascript-ajax/building-a-jquery-powered-tag-cloud/
Image Download - http://www.goldcoastwebdesigns.com/13.shtml
TOS/TOU Generator: http://www.bennadel.com/coldfusion/privacy-policy-generator.htm
(the above is VERY general. the one below is more specific)
http://terms-of-service-generator.legalriver.com/



General Info I need to remember:
On the images/image search page, link to "view image details", have the download button that will open a page in a separate window that will add a tally to the database for both the photographer and the downloader (keeping track of the number of downloads they have left).

Updated Page List:
  • Images
  • Contribute
  • Subscription
  • FAQ
  • Register
  • View Image
  • Profile
  • Download

Mac labs....

Can't say I'm thrilled being in a mac lab for the class.... I'm going to do the majority of my coding at home on my nice pc at home :) The upside is that I can do a lot of the base work in class (setting up pages, links, basic content, etc). Once I have a lot of the php done and mostly working, I can do coding in class. I'm not fond of dreamweaver, I get that I "can" use it, I'm just so used to working in notepad++ all other coding software's seem strange and are not as easy to use.

How about I trade, on Tuesday's I'll do my senior project and Wednesday's I'll work on my portfolio? Any chance you'll agree to that?

Monday, October 4, 2010

Designed

With little issues, the site has been basically coded (a design that I can work with php wise). Still need to rethink the registration and login tags.... I don't like what I designed last quarter for it, had a few ideas over break that didn't work either, and I need to figure out something... I want the login and registration tags to slide out, but I want to keep with the hanging/drop shaddowed design. Any ideas? You're not going to see this probably until Tuesday or Wednesday at the earliest, hopefully my problem is solved by then! I guess I can throw up generic tags for now, and get the code working, then redo the buttons later. That's not too difficult...

Back from Break

I love looking back at the long list I said I was going to do over break... it's nice when you try to plan! This quarter I am much better organized, have a weekly list of what needs accomplished, and reminders everywhere for me to blog! Hopefully this quarter will go relatively smoothly, and the crisis, when the happen, don't kill me!

Today: coding the html/css for the site, and possibly adding the login. I think the database is pretty well set up, I'll probably go in and add to that today as well.