Jump to content

vchris

Members
  • Posts

    1,529
  • Joined

  • Last visited

Everything posted by vchris

  1. Works great thanks. I just had to change the +1 to the second $files[$i].
  2. This is a script I am trying to create for my portfolio. I already part of it working. I can go get the images from the image folder no problem. I want to go a bit further than that. Here is an example of what is in that folder:site1_small.jpgsite1_large.jpgsite2_small.jpgsite2_large.jpgAnd so on...My php page contains something like this: <a href="site1_large.jpg"><img src="site1_small.jpg" alt="description" /></a>My problem is how can I be sure the href and src will be the corresponding small and large image? What about the description? I currently have it looping through all the images in that folder. I was thinking of having an array to store the small images, large images and the image description.Here's what I got: <?php //Open images directory $dir = @ dir("../images/websites"); //List files in images directory while (($images = $dir->read()) !== false) { if(strstr($images, "_small")) { echo "<li><a href=\"/images/websites/site1_large.jpg\"><img src=\"/images/websites/" . $images . "\" alt=\"desription\" /></a></li>"; } } $dir->close(); ?> I'd want to avoid using a db for this. Any ideas?
  3. OMG! That is some messy code and site rip it seems. You almost have the same domain name.I say be original and design something nicer than their site or else what's the point of having an identical site which doesn't the same thing?
  4. I have no such problem...
  5. vchris

    Login problem

    Is there other variables for cfdump? Is there one to view all data sources?
  6. It can be decrypted pretty easily I would say. Just a couple search and replace for the tags and there you go.
  7. Nice content area but I don't like the banner and nav. Something about the round buttons that doesn't fit. Maybe just try to change the navigation.
  8. I'd say just go buy yourself a Photoshop book and do some of the exercises. You can always try and find some tutorials online about how to make certain effects.
  9. I'm converting some docs at the moment with lots of math equations. For those that are simple (x = y + z), I simply type them in but for the complex ones I have to use images since typing them could confuse some people. I use Photoshop to crop them out.
  10. You mean posting site online?First, you need to find a web host to host your website or you can host your own website on a computer you own. Then you get a domain name which points to your server/web host and there you go. Start the coding part! Some web hosters will allow multiple site hosting for the same price. I think usually it's 1 site, 1 price.
  11. vchris

    Mock Ups

    It's a lot faster to create a mock up simply as an image since you don't have to code anything.
  12. One of my template structure was based on that csszengarden page. It's nice and simple. You could put in the reflection of the guitar as well.
  13. Too many solid colours... It could be good but needs work.
  14. I'm using xhtml 1.0 strict and it does validate.
  15. vchris

    page align

    to align horizontally:body { text-align: center; }#container { margin: 0 auto; text-align: left; }I'm not sure vertically.
  16. I try never to resize images. The quality is very bad when it's resized. Why not make 2 images? 1 small and 1 bigger. This way both can have great quality and it saves on bandwidth and load times.
  17. hmmm not sure but I'm picturing a container with margin up top and the guitar could start inside your container and end up outside (near top of browser). The navigation could probably go beside the guitar... I'm not sure of the other colours.
  18. I'm picturing a high res acoustic guitar (light brown) on top of your site...
  19. If it's your portfolio, I would design it with something I like. For example, I like spacey designs. So one of my designs included planets and was hot! Whatever suits you. If find the hardest thing is designing a site for yourself. Try maybe doing a couple templates.
  20. vchris

    Domain Name

    You should contact them about your first question since I have no idea. I don't see any options for my DNS so I guess I can't manage it. Email them, they reply pretty fast usually.
×
×
  • Create New...