943,670 Members | Top Members by Rank

Ad:
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Sep 3rd, 2009
0

Re: JPEG as a Container

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......
Reputation Points: 45
Solved Threads: 1
Junior Poster
stevenpetersen is offline Offline
132 posts
since Jun 2009
Sep 3rd, 2009
0

Re: JPEG as a Container

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

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.
Reputation Points: 562
Solved Threads: 368
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Sep 3rd, 2009
0

Re: JPEG as a Container

dunno what I did to post the same answer twice
Last edited by almostbob; Sep 3rd, 2009 at 7:48 pm.
Reputation Points: 562
Solved Threads: 368
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Sep 3rd, 2009
0

Re: JPEG as a Container

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.
css Syntax (Toggle Plain Text)
  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.
Reputation Points: 18
Solved Threads: 21
Junior Poster
codejoust is offline Offline
180 posts
since Jul 2009
Sep 4th, 2009
0

Re: JPEG as a Container

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.
Reputation Points: 45
Solved Threads: 1
Junior Poster
stevenpetersen is offline Offline
132 posts
since Jun 2009
Sep 8th, 2009
0

Re: JPEG as a Container

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
Reputation Points: 35
Solved Threads: 21
Junior Poster
HI2Japan is offline Offline
195 posts
since Mar 2006
Sep 8th, 2009
0

Re: JPEG as a Container

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.
Reputation Points: 18
Solved Threads: 21
Junior Poster
codejoust is offline Offline
180 posts
since Jul 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: New bee here…!
Next Thread in Graphics and Multimedia Forum Timeline: Interactive UK map in flash, with counties or postcode area





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC