• Photos Not Showing In IE

      0 comments

    If you are runing in to any trouble with your photos not showing up in Internet Explore there is a very easy fix for this:

    1. Open up the photos in Photoshop.

    2. Go to Images at the top of the program next to Edit.

    3. Select Mode and change the mode to RBG. (More than likely your photo is set to CMYK).

    4. Reupload the photos.

    I ran in to this problem lately when I had to make a layout of a property which was created in Illustrator and then took the photo in Photoshop to convert the pictures to JPEG format so I could upload them for the website.

    You will also run in to this if you are taking photos from a PDF that was used for printing a flyer or something of that sort. The distinct difference between print media and the internet is that print media is mainly done in a CMYK format and the internet is RGB format.

  • Use of Highslide JS

      0 comments

    I have been working with a client that was looking to be able to display a group of pictures on their site. We originally where looking at a slide show type display which usually are a great display for a site but I really wanted to do something a bit different being that his type of site is pretty cookie cutter with regards what they are selling and only having so many possible designs.

    I started to play around with Highslide which for some of you is a bit old school by now but do remember that I set this blog up as an educational blog, not promoting new products. You can go to http://www.linkedupdesign.net/test/ and see one there many types of Highslides there are.

    You should also go to their site http://highslide.com/ and find one that works for you. I strongly suggest following their instructions and donating, this is open source and the designer made this as easy as buttering toast so support the cause.

  • Upload CSV Excel Files To MySQL

      0 comments

    Recently I had a client that need to upload a 2000 row 13 column excel spreadsheet to a MySQL database. The client is a car broker who basically helps people find specific cars and he also buys luxury cars and sells them via his website.

    Being that his distributor gives him access to his database, we thought it would be a good idea to feature this on his website so we decided to add a search feature to the site so if someone was looking for a specific make of car, the search would bring back his distributor’s inventory of that make and then break it down from there. Sound simple but being that I almost no training when it comes to SQL or MySQL, I had to figure out a way to upload this inventory list to a MySQL database. Of course I tried for days to find a way to do this via Google but came up short until I found a someone who lead me in the right direction. So here is what I figured out!

    First thing is first, what was I working with:

    1. Excel for Mac 2007 version.

    2. phpMyAdmin 3.2.2.1

    3. MySQL 5.4.3 beta version

    4. Running off my local host which really does not matter too much.

    So here is how I went about this:

    1. First step was to establish in MySQL a database and set up the columns of the database. (If you are not up to that stage, feel free to contact me and I can walk you through this!!) Obviously the columns should match the columns in your spreadsheet. Please note, that if you, which you should have, added a column for “id” Primary Key and Auto Increment, you will need to add this to your first column of your spreadsheet and sequentially add the numbers to the column to go along with the number of items in the spreadsheet.
    2. Then in your excel spreadsheet you will want to remove the top line or the column names so you are just showing the data that you want to upload in to the database.
    3. Make sure that all the cells in your spreadsheet are all flushed left. You can not have any arbitrary spacing in this format.
    4. In the column after the last data entry column you are going to want to add “|” in each of the cells to match up with the rows of data. This is going to be used in your SQL upload code as the break for each row.  Your spreadsheet ends at Column “R” then place the “|” in Column “S”.
    5. Save As the file as a CSV. (If you want, you can open this file in a text editor program and you will see the layout of the rows like so (item 1, item 2, item 3, item 4, item 5 | ) This would continue on each row with the ” | ” at the end again to show a stop in the row.
    6. Now go to your MySQL program whether it is with your hosting company or on a local host, usually this will be a phpMyAdmin format.
    7. Go in to the new database and then select “import” tab but make sure you have selected the database that you are looking with.
    8. You will notice that at the top of the page you can upload the file that you are looking to use which you should do now.
    9. Once you press the import button will notice now that they format of page has changed a bit. FORMATS OF IMPORTED FILE has changed and added a new option, CSV using LOAD DATA which you are going to want to select.
    10. In the Options you are going to want to check “Replace table data with File”. Then skip down to the next section.
    11. There should be 4 short boxes and then 1 long one. In the first box, “Field terminated by: put in a coma “,” then delete what is in the next 2 boxes.
    12. The 4th box should read the Lines Terminated by and you are going to put a “|” in this box. Basically what you are doing is telling SQL that you are loading information in to the fields of the existing database and the break of each item is a “,” and break of each line is a “|”.
    13. Now delete what ever is in the long box and hit submit.

    As long as you have matched up your columns with your database columns this will work. It is probably a bit unconventional but at the same it worked for what I was doing and it should work for you.

  • Upcoming Articles

      0 comments

    I have had a few wild things that I have had to learn for a new site that I am working on so I will be writing a few new articles very soon.

    First is going to be on uploading Excel Spreadsheets to MySQL directly, not using PHP or ASP code to get this done.

    Other is going to be on making a search function for a website using MySQL and PHP. This one will be submitted to Dreamweaver directly because there is a huge mistake on their instructions on how to do this. I found 3 websites that pretty much gave directions on doing this exactly the same and all 3 forgot to include the most fundamental actions in the form that make the search work!

    I will put these up right before the new year as I have a few websites that I am working on right now.

  • Screen Shot On A Mac

      0 comments

    apple-logoI spent pretty much the whole evening looking up how to get a screen shot of something on my MacBook today and I must admit that I feel a bit silly not know this but here it is:

    Hold down shift, command and the number 3.

    Once you do this, a screen shot will be saved on your desktop. It will be a shot of your entire screen so if you are looking for something specific you can take it in to any image program and then crop it and save it in what ever format you need.

    If you are looking for screen shots of a website there are a ton of programs that you can download to use for this but if you want to avoid having to pay for something that take a few minutes to do for free then follow my instructions above.

SEO Powered by Platinum SEO from Techblissonline