Search found 15 matches
- Sat Oct 03, 2009 1:00 pm
- Forum: PHP - Code
- Topic: PHP image resize - keeping EXIF data
- Replies: 0
- Views: 102
PHP image resize - keeping EXIF data
Hi, I have a couple of sites that run a photo uploader that resizes images that are uploaded then placing them on the website. The problem with this is that all the EXIF data (such as when the pictures of taken) is lost. Does anyone know of a method of resizing the image BUT keeping all the EXIF dat...
- Wed Apr 15, 2009 4:21 pm
- Forum: HTML, CSS and other UI Design Technologies
- Topic: Make bordered text wrap a floating image
- Replies: 4
- Views: 2946
Re: Make bordered text wrap a floating image
yeah, a white line around the outside of the text.
Once i find out how to do that i am sure i could then work out the margins and padding etc to get it all to line up properly.
[arborint: thanks for settings the permissions, feel free to remove that other post.]
Once i find out how to do that i am sure i could then work out the margins and padding etc to get it all to line up properly.
[arborint: thanks for settings the permissions, feel free to remove that other post.]
- Wed Apr 15, 2009 12:23 pm
- Forum: Graphics
- Topic: Simple Query...
- Replies: 2
- Views: 5321
Re: Simple Query...
If you don't have photoshop then there are free alternatives like G.I.M.P.(http://www.gimp.org/) that has a lot of the features of photoshop. Inkscape (http://www.inkscape.org/) is a free vector graphics program.
- Wed Apr 15, 2009 12:19 pm
- Forum: HTML, CSS and other UI Design Technologies
- Topic: Make bordered text wrap a floating image
- Replies: 4
- Views: 2946
Make bordered text wrap a floating image
Hi, First off sorry if this is the wrong forum but it says i don't have permission to access the CSS forum where i think this should go. I am currently creating a website for a friend of mine and they want to have an image on the right side of the page and then text on the left that would wrap aroun...
- Sat Dec 20, 2008 10:42 am
- Forum: PHP - Code
- Topic: [solved] Convert URL string to html link and shorten
- Replies: 1
- Views: 573
[solved]Re: Convert URL string to html link and shorten
Nevermind i have been playing today and sorted it using this: function hyperlink($text){ // match protocol://address/path/ $text = preg_replace_callback("#(^| |\n)([a-zA-Z]+://)([.]?[a-zA-Z0-9_/-])*#", create_function('$part', '$text_link = (strlen($pa...
- Sat Dec 20, 2008 10:40 am
- Forum: PHP - Code
- Topic: string splitting (preg_split)
- Replies: 1
- Views: 203
Re: string splitting (preg_split)
have you tried str_word_count() info at: http://uk.php.net/manual/en/function.str-word-count.php it can split the string into an array of all the words. If not then i am sure you can use preg_split to split the string at all new lines (\n) or spaces, i am not hot on regexp so someone else might be a...
- Sat Dec 20, 2008 5:06 am
- Forum: PHP - Code
- Topic: [solved] Convert URL string to html link and shorten
- Replies: 1
- Views: 573
[solved] Convert URL string to html link and shorten
Hi, i am trying to convert a url in a string to html code and then shorten the url between the anchor html tags. So far i have found this function: function hyperlink($text){ // match protocol://address/path/ $text = ereg_replace("[a-zA-Z]+://([.]?[a-zA-Z0-9_/-])*", "<a href=\...
- Mon Nov 20, 2006 10:56 am
- Forum: Javascript
- Topic: Problem with Javascript in IE, fine in Firefox
- Replies: 1
- Views: 1016
Problem with Javascript in IE, fine in Firefox
Hi i am trying to run this javascript code: var head = document.getElementById("tophead"); script = document.createElement('script'); script.setAttribute('type','text/javascript'); var thescript = http_request.responseText; var scriptnode = document.createTextNode(thescript); //alert(thesc...
- Mon Nov 13, 2006 1:35 am
- Forum: PHP - Code
- Topic: Problems with finding variables from function
- Replies: 2
- Views: 456
- Sun Nov 12, 2006 5:21 pm
- Forum: PHP - Code
- Topic: Problems with finding variables from function
- Replies: 2
- Views: 456
Problems with finding variables from function
feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hi, i am ...
- Sun Nov 05, 2006 5:36 pm
- Forum: PHP - Code
- Topic: Permission Problems
- Replies: 2
- Views: 679
- Sun Nov 05, 2006 5:27 pm
- Forum: PHP - Code
- Topic: Permission Problems
- Replies: 2
- Views: 679
Permission Problems
Hi, i have been having a problem running a script that uploads pictures to specific directories since a recent php update. i have been getting these errors: Warning: chmod() [function.chmod]: Operation not permitted in /home/bfp/public_html/networkers/pictures.php on line 60 Warning: mkdir() [functi...
- Mon Jun 12, 2006 5:43 am
- Forum: PHP - Code
- Topic: Mysql query problems (very confused)
- Replies: 2
- Views: 947
- Sun Jun 11, 2006 7:56 pm
- Forum: PHP - Code
- Topic: htpasswd "encoding"
- Replies: 6
- Views: 737
- Sun Jun 11, 2006 7:45 pm
- Forum: PHP - Code
- Topic: Mysql query problems (very confused)
- Replies: 2
- Views: 947
Mysql query problems (very confused)
Hi, i have been working with MySQL for a while now and made many database driven sites and always been able to fix any problems but this one is really bugging me. I have a simple block of code that when working correctly should change an enabled value in a table to 0 but the query is not working. He...