Crop Images Contextually
Crop images contextually for faster downloads and higher impact. By cropping maximally and resizing you can convey meaning without slowing down your web pages.
However, we’ve seen many sites that either use HTML’s width and height attributes to resize larger images, or minimally rel=”external nofollow” target=”_blank” href=”http://www.phpasks.com/ajax/crop-image-file.html”>crop and resize images to lose vital information. A better way to create images optimized for the Web is to crop them contextually.
Contextually Cropping
What is cropping contextually? Many times digital images shot for Web use have a border of useless space around the object(s) of interest. Rather than crop to just the film or chip’s border, crop contextually down to the minimum dimensions that still convey the meaning or context of your image.
Note how the author is now more recognizable in the cropped version (behind the sunscreen) and the lettering is larger and more legible. Most importantly, the image has more impact, with the subject taking up more of the frame. This cropped image could be shown with a smaller dimension, saving file size.
Resize to a Smaller Thumbnail
Once you’ve got your image maximally cropped, resize and sharpen it to create a smaller thumbnail image. To give the reader more detail, you can provide a larger version (cropped or uncropped) of the image linked to that thumbnail.
This two-step process of cropping maximally and resizing is what Jakob Nielsen calls “relevance-enhanced image reduction.” Nielsen writes that by combining cropping and scaling you can “preserve both content and detail, even at very small sizes.” (Nielsen 2000)
Extreme Closeup for a Sneak Preview
Some high fashion sites actually use only the important part of an image as a thumbnail. For example, just the shoulder or neckline of a style – click and you get the full shots with details. This “image tease” technique can add an artistic feel to a site. Let’s get up close and personal with our intrepid traveler.
Extreme Cropping through Rearrangement
In extreme cases you could rearrange the target objects and reshoot, or move them closer together in your favorite image editing program. The idea is to use the smallest possible image that still conveys the information you want to display. You may need to bump up font sizes to withstand more extreme image reductions.
JPEG Cropping Caution
Be careful when resaving JPEG images. Reoptimizing an existing JPEG can compound compression artifacts. It is possible to transform JPEGs losslessly, however. Lossless transformations (like 90-degree rotations and flips) require the dimensions of the JPEG to be a multiple of the block size (16×16, 16×8, or 8×8 pixels for color JPEGs). Lossless crops are also possible by cropping to block boundaries with specialized software, like JPEG Wizard.
Watch the video related to Php Scripts
Follow the instructions on the video. The website you can download this from is: danielprograms.ath.cx DO NOT PUT WWW. Script preview danielprograms.ath.cx Password: happy i hope you enjoy my php login script i made Subscribe for more
Help answer the question about Php Scripts
How can I use php scripts / rss feeds on my website for content?I want to include php scripts to my website http://www.bullrider.in so that I can get fresh content using rss feeds but I dont know the procedure can somebody help me with full detials like scripts, reader etc..
About Author
I am Asif Khalyani. I am software Engineer. PHP and ajax free script download site phpasks. User can download free php script.
Tags: change, form, Free, login, password, php, script, with
Dose anyone know how to write a GTP (Get Paid To) php wbsite script
Ah … depends on the person watching. Some think it’s great, others don’t.
Good Video this is what i am looking for Terms and how to do it it lets you make your own code by knowing what things do such as basic commands “functions” as Print. Thanks for the Vid man i am trying to learn to Write PhP im only 15 atm and can write HTML Javascript. To bad my school said PHP was to advanced to teach….. URRG lol Thanks again good vid.
You can use a menu maker if you're not sure how to code something on your own. There are a gazillion of them out there and many are even free. Pick one that suits you…
http://www.google.com/search?source=ig&hl=en&rlz=&q=web+menu+maker&btnG=Google+Search
The "something" can be accessed very easily with PHP. If you have a web page address that looks like this:
index.php? month=september&name=smith&age=24
Then you can access those values in PHP like this:
<?php
echo $_GET('month');
echo $_GET('name');
echo $_GET('age');
?>
This will print septembersmith24.
As for accessing a text file, that's easy too:
<?php
$text = file_get_contents( 'textfile.txt' );
echo $text;
?>
This will read the entire contents of the file textfile.txt into the variable $text, and then print it out for you.
You can also access many databases with PHP, I highly recommend you use MySQL. It's a bit too complicated to describe here, though. There are some good references made to good books by folks above. The "Teach Yourself" series is great.
this kinda draggs along…
http://www.phpfreaks.com
If you are ready invest: Get Larry Ullman: 'PHP …" Nice book
Thanks.
Stef
Windows XP PRO has functionality for running a web server built in
IIS is an option, however, under a "Default" installation of XP Pro, it might not be installed
Control panel – > add / remove programs -> Add Remove Windows COmponents – Check "Internet Information Services"
You could also look @ apache as has been mentioned, however, IIS is PART of windows.
Hi,
Best Site to Learn PHP http://www.w3schools.com/php/default.asp
I know this Answer Will solve your problem. Do one thing visit http://www.zakhas.com/Forum be a member first and Download 1800 Industry standard PHP Projects and source codes. Directly without any interrupting. Follow below link for direct access to the download link.http://www.zakhas.com/Forum/ViewThread.asp?Thread=161&Forum=26
Definitly it will solve your problem. Download it BE Quick.
Or you can try this sites below
http://www.planetsourcecodes.com
or
http://www.scriptswave.com/free/scripts/php_scripts/9.html
If you find this answer is best then you can choose it as best answer.
good stuff. really clear!
Glad you liked it.
Thanks,
Stef
http://www.phpfreaks.com/tutorial_cat/8/Basics-&-Beginner-Tutorials.php
Is good for a beginner like me, nice tutorial and thank you very much.
http://www.elite.ro/free-hosting-php/
http://www.awardspace.com/
http://www.free-phphosts.com/
http://www.freehostia.com/free_hosting.html
Really what you need to run php is some one who also offers a sql database these do but I dont get the website builder thing?
if your messing around with php why would you need a WYSIWYG builder?
I don't think there is such a thing as a PHP emulator, and I don't know why you'd need one. It's likely that you either didn't install PHP and apache correctly or you aren't using it right.
Use XAMPP to install PHP and apache. It will also include MySQL and phpMyAdmin (which you will need sooner or later) and some other good stuff too. It's much easier than trying to configure PHP and apache by hand. Best of all, it's all configured to run together immediately. XAMPP and all of its components are free and open source.
http://www.apachefriends.org/en/xampp.html
Once you've got a web server, you need to turn it on (that's not automatic.) There's a nice control panel that makes this easy with XAMPP. PHP files will only work if they're in a specific subdirectory (usually htdocs in the apache directory structure) Also, you can't just load a PHP file into the browser the same way you do an HTML file. Instead, you need to point the browser to
http://localhost/yourFileName.php
PHP is called by the server, so if you use a mechanism (like the file:// directive) that bypasses the server, your PHP programs won't run.
Thanks.
If you have sensitive files that should be accessible only by scripts, put them somewhere on the server other than the web root. Your scripts will still be able to access them, but nobody can pull them off the web.
/
– /htdocs
– — /www.site.com
– /securedocs