JPEG as a Container

Reply

Join Date: Jun 2009
Posts: 130
Reputation: stevenpetersen is an unknown quantity at this point 
Solved Threads: 1
stevenpetersen's Avatar
stevenpetersen stevenpetersen is offline Offline
Junior Poster

Re: JPEG as a Container

 
0
  #11
Sep 3rd, 2009
Originally Posted by stevenpetersen View Post
Got It props too you my friend.....
there was a problem with the code.......... I did not see at first problem here

left side is your code........ and my first code is on the right......
Steven Petersen
Web Designer / Web Master
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,323
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 161
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: JPEG as a Container

 
0
  #12
Sep 3rd, 2009
Originally Posted by stevenpetersen View Post
What about the Print Screen
dunno how to disable printscreen
don't want to interfere with someones hardware
bad mojo

the background image is in the tif,
it has to download to display,
can make it harder to copy,
but not impossible
I watermark all images, and dump copyright info throughout the exif tables (Irfanview, batch edit and resize)
cant do much more.
the ones that really **expletive deleted** me,
are those who want to link to my files, on my server, and send me dirty email because they cant pull images from the database

Originally Posted by stevenpetersen View Post
there was a problem with the code.......... I did not see at first problem here

left side is your code........ and my first code is on the right......
You are using width/height to resize an image, bad idea
the image on the server should be optimised, stored on the server at the size it is to display
download a 300k large image, and resize it small
or download a 30k small image
much more efficient
my code was width='width of realpic' height='height of realpic' meant to show resizing wasnt available
Last edited by almostbob; Sep 3rd, 2009 at 7:54 pm.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,323
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 161
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso

Re: JPEG as a Container

 
0
  #13
Sep 3rd, 2009
dunno what I did to post the same answer twice
Last edited by almostbob; Sep 3rd, 2009 at 7:48 pm.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it

Please mark solved problems, solved
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 178
Reputation: codejoust is an unknown quantity at this point 
Solved Threads: 18
codejoust's Avatar
codejoust codejoust is offline Offline
Junior Poster

Re: JPEG as a Container

 
0
  #14
Sep 3rd, 2009
OK, for what you need, if you wish to resize your pictures in HTML (not recommended, try using PHP gd or Photoshop ETC), you need to use javascript.
And use a print stylesheet to make the .trans class background image a copyright image.
  1. @media print { .trans { background:url('./images/copyright.jpg'); } }
Ensure the path to the Javascript is correct. Currently, it is incorrect.
Last edited by codejoust; Sep 3rd, 2009 at 8:22 pm.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 130
Reputation: stevenpetersen is an unknown quantity at this point 
Solved Threads: 1
stevenpetersen's Avatar
stevenpetersen stevenpetersen is offline Offline
Junior Poster

Re: JPEG as a Container

 
0
  #15
Sep 4th, 2009
I do thank you both and if i get both working I will use witch one sues my needs at the time or both...... i still have not be able to it in the JS. way. What is the name of the JS file just so i have it write?

Thank you steven petersen,

P.S. i keeped on asking about the info you provided do to i wanted to no..... but the tread was asking How to put files or docs into a JPEG like a container.... Meaning if i move the image around on my computer and/or website the docs are in it and cant be seen unless you no how to find them... I will give props to the JS. script if it works, and i will give props for the Jpeg container.

Thanks again
Last edited by stevenpetersen; Sep 4th, 2009 at 12:15 pm.
Steven Petersen
Web Designer / Web Master
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 194
Reputation: HI2Japan is an unknown quantity at this point 
Solved Threads: 21
HI2Japan HI2Japan is offline Offline
Junior Poster

Re: JPEG as a Container

 
0
  #16
Sep 8th, 2009
Here is a fast simple way to do it. Rename the extension from .doc to .jpg. Now it wont do anything unles syou change it back to the correct extension
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 178
Reputation: codejoust is an unknown quantity at this point 
Solved Threads: 18
codejoust's Avatar
codejoust codejoust is offline Offline
Junior Poster

Re: JPEG as a Container

 
0
  #17
Sep 8th, 2009
Originally Posted by stevenpetersen View Post
I do thank you both and if i get both working I will use witch one sues my needs at the time or both...... i still have not be able to it in the JS. way. What is the name of the JS file just so i have it write?

Thank you steven petersen,

P.S. i keeped on asking about the info you provided do to i wanted to no..... but the tread was asking How to put files or docs into a JPEG like a container.... Meaning if i move the image around on my computer and/or website the docs are in it and cant be seen unless you no how to find them... I will give props to the JS. script if it works, and i will give props for the Jpeg container.

Thanks again
The js will work with multiple images, and if they are moved around.
It will not work for those with js disabled, though.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC