Problem with protecting images from copying.

Woah, hold on... I just got back from a  shoot and checked out my site only to realize (I don't know why I just realized it) that none of my 200 + images in my galleries are protected against downloading! I was so used to the script I had im my old site I took it for granted. So my question is can I use the below script in the head to prevent right clicking or is there a simpler way to protect my images (albeit light protection)?
Tbanks,
Ed
<script language="JavaScript" type="text/javascript">
<!--
if (document.all) {
else if (document.getElementById) {
    document.captureEvents(Event.MOUSEDOWN)
else if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN)
document.onmousedown = mousedown_handler
function mousedown_handler(mouse_event) {
    // This is the message that will appear
    var no_right_click = "This material is copyright Rogers Photography! Please contact us with your requests."
    if (document.all) {
        //Probably Internet Explorer 4 and later
        if (event.button == 2 || event.button == 3) {
            alert(no_right_click)
            return false
    else if (document.getElementById) {
        // Probably Netscape 6 and later
        if (mouse_event.which == 3) {
            alert(no_right_click)
            return false
    else if (document.layers) {
        // Probably Netscape 4
        if (mouse_event.which == 3) {
            alert(no_right_click)
            return false
//-->
</SCRIPT>

I don't think flash is the way to go now as it's on the way out. I would look into html5, JS... If you do a web search you will find quite a few free and usable "bits". I agree that Muse should have more functional and relavant widgets.
If you still want to use flash for an image gallery then check out the free ones here http://www.paulvanroekel.nl/picasa/visuallightbox/index.asp . All you need is Picasa. Once your gallery is created locate the folder and upload it to your server. Then embed it into Muse. I use it for "Page Flip" galleries. Works like a charm

Similar Messages

  • I am facing a Problem with reading images from database

    Hi everybody..
    any help will be most appreciated, I am facing problem with reading images from database. I am pasting my code... 
                    string connect = "datasource = localhost; port = 3306; username = root; password = ;"; 
                    MySqlConnection conn = new MySqlConnection(connect); // creating connecting string
                    MySqlCommand sda = new MySqlCommand(@"select * from management.add_products ", conn); //creating query
                    MySqlDataReader reader; 
                    try
                        conn.Open(); // Opening Connection
                        reader = sda.ExecuteReader(); // Executing my Query..
                        while (reader.Read())
                            byte[] imgg = (byte[])(reader["Picture"]);
                            if (imgg == null)
                                pc1.Image = null;
                            else
                                MemoryStream mstream = new MemoryStream(imgg);
                                pc1.Image = System.Drawing.Image.FromStream(mstream);
    It says Parameter not Valid... i am reading all the images from database

    I agree with Viorel. You are getting the error because the format of the data is incorrect probably because the data was modify. It may not be the reading of the database the is incorrect, but the application that wrote the data into the database. You need
    to compare the imgg array data with the data before it was written to the database to see if the data matches.  I usually start by comparing the number of bytes which is easier to check then compare the actual to isolate which function is changing the
    byte count.
    An image is binary data.  The standard VS methods for reading and writing data (usually stream classes) default to ASCII encoding which will corrupt binary data.  The solution usually is to use UTF8 encoding instead of the default ascii encoding. 
    Ascii encoding with stream often aligns the data and adds extra null bytes to the end of the data which can produce these type errors.
    jdweng

  • Protect Image from Copying

    Can anyone tell me how to protect images on my site from
    being copied?
    Is there a way to code or something in Dreamweaver I can
    implement to prevent a right click copy?
    I'm currently using Dreamweaver 8.
    Thank you

    No, the people here with experience try to give additional
    information in an
    effort to help someone.
    Sharing the fact that disable right click is amateur, doesn't
    work and so on
    is not a faux rule to be abided by.
    It's simply good advice.
    Many people like this forum because people with experience
    don't just give
    the recipe the person is looking for, they add some
    real world experience and offer advice to try to HELP the
    user avoid some
    mistakes or mis-understandings.
    Offering someone information he or she may not have
    considered is neither
    elitist or judgmental of whether someone is a "true" designer
    (Who even said
    that?).
    It's simply kind and responsible.
    Take care,
    Tim
    "GPaul" <[email protected]> wrote in message
    news:[email protected]...
    > Yes...the morality of it... you should do it / you
    should not do it.
    > Sometimes people here are like pipesmokers, flyfisherman
    and bowhunters,
    > that elite group that practices the only "pure" form of
    the art. They
    > create faux rules to be abided by to or you are not a
    "true" designer.
    >
    > The OP asked how to protect an image, not the high
    browed opinions as to
    > whether it should be done or not. He/she asked if there
    is a way to stop
    > right click copy of an image. If you set a behavior of a
    pop up message
    > from a right click, it would stop this. There are other
    ways to get the
    > image if you really want it (print screen/paste...etc),
    but that was not
    > the question.
    >
    > And the site I was thinking of is
    www.swingslifestyle.com
    >
    >
    >
    >
    > "Walt F. Schaefer" <[email protected]> wrote
    in message
    > news:[email protected]...
    >>>>I was not addressing the morality of it
    >>
    >> Huh? Where did John mention morality?
    >>
    >>>I have seen it done and why it is written that it
    cant seems to perplex
    >>>me.
    >>
    >> Show us where you have seen it done.
    >>
    >>
    >> --
    >>
    >> Walt
    >>
    >>
    >> "GPaul" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Well John, I was not addressing the morality of
    it, but the technical
    >>> aspect. I have seen it done and why it is
    written that it cant seems to
    >>> perplex me.
    >>>
    >>>
    >>> "John Waller"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> >I have been to sites that seem to have
    the images protected in that
    >>>> >you get a message that pops up when you
    right click
    >>>>
    >>>> None work reliably.
    >>>>
    >>>>>I set a behavior of a pop up message when
    the visitor right-clicked,
    >>>>>which in essence kept them from saving
    the image. There might be away
    >>>>>around it, but it would discourage a good
    about of people.
    >>>>
    >>>> It also sends a message to visitors that
    they're not to be trusted and
    >>>> dissuades them from visiting your site
    again. They'll undoubtedly get
    >>>> what they want from another website anyway.
    What's to be gained by
    >>>> turning them away?
    >>>>
    >>>> Plus, one of the hallmarks of amateur web
    design is disabling or
    >>>> changing browser functionality. There is
    never a need to disable or
    >>>> amend browser behaviour. Design around it
    instead. Watermark your
    >>>> images or just don't upload them.
    >>>>
    >>>>
    >>>> --
    >>>> Regards
    >>>>
    >>>> John Waller
    >>>
    >>>
    >>
    >>
    >
    >

  • Imported RAW images badly corrupted, looks like red paint splashed all over the sky.  Photoshop and Iphoto have no problem with the images from my D800E.  Aperture worked fine for me in June with the same camera.  The Nikon software shows no problem.

    I am having a problem importing my images into Aperture 3 from my Nikon D800E.  The images appear as if red paint was splashed across the sky.  The Nikon software used to transfer from the camera does not show this problem and Photoshop 6 is fine with the images exported as jpg from the Nikon software.  Aperature does not even like the jpg images usable by Photoshop.  I am suspecting that Aperture is not correctly using the camera raw file.  Also, the histograms are radically different between the corrupted images and the Photoshop (good) versions.  Aperture worked just fine for me in June with the same camera.  All drivers and software are current as of this posting.  Anyone else out there seen this before??

    Are you sure you do not have Highlight Hot & Cold Areas turned on? (View->Highlight Hot & Cold Areas)?
    The bug in Digital Camera raw only affected Raw images. In your first post you wrote:
    Aperature does not even like the jpg images usable by Photoshop
    If the JPG's have the same problem then it isn't this bug.
    regards

  • Problem with capture image from wc

    hi all, i want to capture image from my webcam and play it, but it's not work
    please help me, here's code
    public class Demo extends JFrame {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Demo demo = new Demo();
         public Demo() {
              super();
              int a=30;
              final JPanel panel = new JPanel();
              getContentPane().add(panel, BorderLayout.CENTER);
              setVisible(true);
              DataSource dataSource = null;
              PushBufferStream pbs;
              Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
              CaptureDeviceInfo deviceInfo=null;boolean VideoFormatMatch=false;
              for(int i=0;i<deviceList.size();i++) {
              // search for video device
              deviceInfo = (CaptureDeviceInfo)deviceList.elementAt(i);
              if(deviceInfo.getName().indexOf("vfw:/")<0)continue;
              VideoFormat videoFormat=new VideoFormat("YUV");
              System.out.println("Format: "+ videoFormat.toString());
              Dimension size= videoFormat.getSize();
              panel.setSize(size.width,size.height);
              MediaLocator loc = deviceInfo.getLocator();
              try {
                   dataSource = (DataSource) Manager.createDataSource(loc);
                   // dataSource=Manager.createCloneableDataSource(dataSource);
                   } catch(Exception e){}
                   Thread.yield();
                   try {
                        pbs=(PushBufferStream) dataSource.getStreams()[0];
                        ((com.sun.media.protocol.vfw.VFWSourceStream)pbs).DEBUG=true;
                        } catch(Exception e){}
                        Thread.yield();
                        try{dataSource.start();}catch(Exception e){System.out.println("Exception dataSource.start() "+e);}
                        Thread.yield();
                        try{Thread.sleep(1000);}catch(Exception e){} // to let camera settle ahead of processing
    }

    iTool wrote:
    hi all, i want to capture image from my webcam and play it, but it's not workThat's a very descriptive error message, "it's not work". Everyone on the board will certainly be able to help you out with that.
    The first error I see is that you're using the CaptureDeviceManager in an applet. If T.B.M pops in here, he can tell you why that's going to be a CF 99% of the time.
    The other error I see is that your code looks absolutely nothing like any working JMF webcam capture code I've personally ever seen.
    Lastly, the big one, even if you were somehow capturing video magically, you're not even trying to display it...so I'm not entirely sure why you expect to see anything with the code you just posted.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JVidCap.html]
    Your best bet would be starting over and using the example code from the page linked above.

  • Problem with importing images from Nikon S60

    I have been using photoshop elements for several years - currently on Version 8.  I've had no issues importing images from my Nikon D70 - I choose the option to store the images in folders by "shot date" and this has always worked.
    My wife has started using a Nikon S60 to take photos - when trying to import these photos they all end up in a folder with today's date.  I've treid a couple of times to be sure that I didn't make a mistake in setting the import options.  I've checked the "properties" of the images and the date their shows the shot date...
    any ideas?

    Seems unusual behavior. I guess the obvious thing to do is to simply rename the folder although that’s a bit annoying.
    Have you tried selecting one of the other shot date formats from the downloader, perhaps to match the camera date format?
    Click image to enlarge.

  • Problem with deleting images from iPhone with Mac

    When I connect my iPhone 5 to macbook pro Image Acquire opens. I want to delete all images of my iPhone but with it (Image Acquire) I can't because  the delete button is disabled. Why? Maybe because I noticed a locker near the images? Don't know, can help me?

    Image Acquire or Image Capture?
    Launch Image Capture located in your Applications folder.
    Make sure your iPhone is turned on then connect the iPhone to your Mac.
    Make sure the iPhone is selected under DEVICES.
    See if: Delete after import   is available now.

  • Problem with downloading images from image URL's _ Plzz help me urgent

    Hello,
    I have a set of URL's in a hashtable. Now using the the enumerator, for each URL, I am trying to download the Image. The example for the image URL is something like this:
    http://gallery.hd.org/_exhibits/flowers/_more2003/_more09/flower-Holland-Netherlands-RF.jpgI am using ImageIO.read(new URL("URL")) for downloading the image
    My problem is, if I get a URL which is broken link like the below exaple
    http://www.ossrc.org.in/images/cii-shiksha.jpgmy code is waiting for for the data to come in. The code is hanging there. My code does not terminates but hangs and does not proceed futhur. How to resolve this problem. Please tell me.
    Its very urgent plzzzzzzzzz.
    Thanks,
    chaitanya
    Message was edited by:
    RKC

    Oh, too bad, it's urgent. I must be too late.

  • Problem with loading Images from Google

    if i click on one of this pictures & chose open in new tab https://fud.community.services.support.microsoft.com/Fud/FileDownloadHandler.ashx?fid=23a96ac6-b84d-4e5a-be5f-ee9132199fac new windows starts loading, but the loading never ends, in past it use to open this page full screen if i chose open in next tab https://fud.community.services.support.microsoft.com/Fud/FileDownloadHandler.ashx?fid=bab88957-319a-4363-94c3-3249dffdb36a, & firefox starts to consume a lot of Disk usage when its loading endlessly https://fud.community.services.support.microsoft.com/Fud/FileDownloadHandler.ashx?fid=0da2dd58-2534-4f61-80e7-c5810795a79d, whats up with fox? tried that thing with IE to, no endless loading, but kind of like plank page, background same color like u see on the link (dark), but no picture full page dark, & IE has no adds, did google change how this works?, but they are just not finished removing the stuff & that left plank page & fox is unable to load this blank page?, so i guess its not much issue with images, but didn't know how to name the topic
    all my adds, for extra information
    Adblock Edge
    Enforce Encryption
    Ghostery
    More In Content UI +

    Test in a similar manner to my suggestion in your memory leaks question [/questions/1048975]
    You are using plugins that are designed to block things and that is probably what is occurring, especially with multiple such plugins.
    See also
    * [[Use the Profile Manager to create and remove Firefox profiles]]
    * [[Firefox uses too much memory (RAM) - How to fix]]
    *[[Disable or remove Add-ons]]
    Additionally also see
    *[[Websites show a spinning wheel and never finish loading]]
    *[[Firefox can't load websites but other browsers can]]
    Must admit I have not got a clue what ms fud.community.services. is

  • Problems with editing images from Lightroom to Photoshop CS3

    I just installed Lightroom onto my new MacBook Pro and just installed a new version of Photoshop CS3. When I hit the "Edit image in Photoshop CS3" button in Lightroom it won't open Photoshop and therefore won't let me edit the image in CS3. Does anyone know what might be wrong? Any info would be helpful.

    I'm running Lightroom and Photoshop CS3. "Edit image in Photoshop CS3" works fine for me. I'm on an iMac and had Lightroom installed first, only thing I noticed is it takes PS a little longer to open up.

  • Issues with Loading Images from a Jar File

    This code snippet basically loops through a jar of gifs and loads them into a hashmap to be used later. The images all load into the HashMap just fine, I tested and made sure their widths and heights were changing as well as the buffer size from gif to gif. The problem comes in when some of the images are loaded to be painted they are incomplete it looks as though part of the image came through but not all of it, while other images look just fine. The old way in which we loaded the graphics didn't involve getting them from a jar file. My question is, is this a common problem with loading images from a jar from an applet? For a while I had tried to approach the problem by getting the URL of the image in a jar and passing that into the toolkit and creating the image that way, I was unsuccessful in getting that to work.
    //app is the Japplet
    MediaTracker tracker = new MediaTracker(app);
    //jf represents the jar file obj, enum for looping through jar entries
    Enumeration e = jf.entries();
    Toolkit toolkit = Toolkit.getDefaultToolkit();
    //buffer for reading image stream
    byte buffer [];
    while(e.hasMoreElements())
    fileName = e.nextElement().toString();
    InputStream inputstream = jf.getInputStream(jf.getEntry(fileName));
    buffer = new byte[inputstream.available()];
    inputstream.read(buffer);
    currentIm = toolkit.createImage(buffer);
    tracker.addImage(currentIm, 0);
    tracker.waitForAll();
    images.put(fileName.substring(0, fileName.indexOf(".")), currentIm);
    } //while
    }//try
    catch(Exception e)
    e.printStackTrace();
    }

    compressed files are not the problem. It is just the problem of the read not returning all the bytes. Here is a working implementation:
    InputStream is = jar.getInputStream(entry);
    ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
    try{
    byte[] buf = new byte[1024];
    int read;
    while((read = is.read(buf)) > 0) {
    os.write(buf, 0, read);
    catch(Exception e){
         e.printStackTrace();
         return null;
    image = Toolkit.getDefaultToolkit().createImage(os.toByteArray());
    This works but I think you end up opening the jar a second time and downloading it from the server again. Another way of getting the images is using the class loader:
    InputStream is = MyApplet.class.getResourceAsStream(strImageName);
    In this case, the image file needs to be at the same level than MyApplet.class but you don't get the benefit of enumerating of the images available in the jar.

  • For the last 2 days whenever I try to upload photos from my iPhoto page to facebook I get an error message: Bad Image There was a problem with the image file.  I haven't knowingly changed any settings on iPhoto or facebook. Can anyone help, please ?

    I need help with uploading photos from iPhoto to facebook. I could do it till 2 days ago. Now any new photo I try to upload gives me an error message:
    Bad Image
    There was a problem with the image file. 
    Please help.

    Can you drag it to the Desktop?

  • I have problems with uploading images to my printing company have the images have been manipulated through CS6 i have saved images as jpeg but the printer company tell me they are not j peg, they will not upload images save from a camera are fine

    I have problems with uploading images to my internet printing company when  the images have been manipulated through CS6 and  i have saved images as jpeg  the printer company tell me they are not j peg,
    but images saved from my phone or camera images that have not been manipulated upload fine, What am i doing wrong?

    Save/Export them as JPG. Photoshop defaults to PSD, so make sure you select JPG and not just rename the file to .jpg.
    There are two ways to save them as JPG: Regular Save as option or Save for Web & Devices
    Take your pick.

  • Problem with controlling Annotations from Excel VBA

    Hi,
    I have a PDF document that has plenty of sticky notes attached to it. These sticky notes have been added by multiple authors on all pages of the document. I am trying to import the contents of these sticky notes, their author and the page number to an excel spreadsheet.  I am using Excel 2007 and Acrobat Professional 9.0.
    This is the code that I am currently using to import the sticky notes, but the problem that I am facing is that when I run the macro -
    Same sticky note contents, author and page numbers are imported multiple times
    Not all sticky notes are imported, only some of them appear in the final excel spreadsheet
    When I compare the number of sticky notes to that in the original PDF file, the number is correct. But the content is repeated content and that is the reason why only some of the sticky notes are imported.
    This is an activity that I need to do on regular basis and the number of sticky notes that I need to import to excel may range between 100 to 200. It is really difficult to do this task manually, so an excel VBA macro could prove really helpful.
    Sub ImportComments_Click()
    Dim Fpath As String
    Dim WordObj As Object
    Dim wbkOutput As Excel.Workbook
    Dim iRow As Integer
    Dim i, j, k As Integer
    Dim lRet As Long
    Dim objAcroAVDoc As New Acrobat.acroAVDoc
    Dim objAcroPDDoc As Acrobat.AcroPDDoc
    Dim numPages As Long
    Dim lAnnotscnt As Long
    Dim Subtype As String
    Dim NumComments As Long
    Dim AcroApp As Acrobat.AcroApp
    Dim objAcroPDPage As Acrobat.AcroPDPage
    Dim annot As Acrobat.AcroPDAnnot
    Sheets("Defect Log").Select
    Range("L3").Activate
    Fpath = ActiveCell.Value
    Sheets("Defect Log").Select
    Range("A1").Activate
    i = 0
    Do While (Not (IsEmpty(ActiveCell.Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 1).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 2).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 3).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 4).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 5).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 6).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 7).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 8).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 9).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 10).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 11).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 12).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 13).Value)) Or Not (IsEmpty(ActiveCell.Offset(0, 14).Value)))
    i = i + 1
    ActiveCell.Offset(1, 0).Select
    Loop
    iRow = i + 1
    Set wbkOutput = ActiveWorkbook
    lRet = objAcroAVDoc.Open(Fpath, "")
    Set objAcroPDDoc = objAcroAVDoc.GetPDDoc
    numPages = objAcroPDDoc.GetNumPages()
    Set objAcroPDPage = objAcroPDDoc.AcquirePage(0)
    For k = 1 To numPages
    lAnnotscnt = objAcroPDPage.GetNumAnnots()
    For m = 0 To lAnnotscnt - 1
    If lAnnotscnt = 0 Then Exit For
    Set objAcroPDAnnot = objAcroPDPage.GetAnnot(m)
    If (objAcroPDAnnot.GetContents <> "" And objAcroPDAnnot.GetSubtype = "Text") Then
    Cells(iRow, 5).Value = k
    Cells(iRow, 2).Value = objAcroPDAnnot.GetContents()
    Cells(iRow, 11).Value = objAcroPDAnnot.GetTitle()
    iRow = iRow + 1
    End If
    Next m
    Set objAcroPDPage = objAcroPDDoc.AcquirePage(k)
    Next k
    lRet = objAcroAVDoc.Close(1)
    Set objAcroAVDoc = Nothing
    Set objAcroPDAnnot = Nothing
    Set objAcroPDPage = Nothing
    Set objAcroPDDoc = Nothing
    End Sub

    Make sure you are current with 9.x patches, just on general principles.
    The code seems fine – nothing jumping out at me.
    You can also look at using the JSObject methods and trying this via the JavaScript stuff – that will give you more access to the Annotation information…
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 24 Nov 2011 04:25:12 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Problem with controlling Annotations from Excel VBA
    Problem with controlling Annotations from Excel VBA
    created by apreeti<http://forums.adobe.com/people/apreeti> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4044740#4044740

  • I have a problem with vertical images burned on a cd

    I have a problem with vertical images burned on a cd either from a Mac or a stand alone burner. What happens is the images come from the card and are put on the cd. Also note the the camera has been set for the computer to automatically show images vertically when shot that way. The images look good on my Mac, but are horizontal on windows computers. Both XP and Vista. What can be done?
    John

    Hi, thank you for the response... not sure looks that the battery its ok, I'm not sure.
      Charge Information:
      Charge remaining (mAh):    4356
      Fully charged:    Yes
      Charging:    No
      Full charge capacity (mAh):    4356
      Health Information:
      Cycle count:    813
      Condition:    Normal
      Battery Installed:    Yes
      Amperage (mA):    0
      Voltage (mV):    12571

Maybe you are looking for

  • Macbook Pro trackpad taps but doesn't click.

    I have a 2009 macbook pro and the trackpad taps but doesn't click. I was wondering if something can be done to fix it so the click works again without taking it in to get fixed? I am currently using a wireless mouse, which is okay but just gets annoy

  • HT2729 how do i authorize my computer so i can download previous purchases?

    How do I authorize my computer so I can download previous purchaese?

  • How to Split a Large datafile

    Hi Folks, I have problem here in oracle 10g running on Windows 2003(32 bit), we have a datafile(.dbf) of size 21GB and we are not able to copy during cold backup OS throwing below error,so we are working with OS vendor on this. Please let me know if

  • Time Machine/Capsule backup

    I have searched the manuals and this site and I do not see my problem.  I keep getting an error "unable to complete backup Error creating backup folder". I have selected my time machine. I have two external hard drives but they are not selected. I ha

  • Web based PDF Doc question - not sure how to describe

    My manager has asked that I research a way to change a web based pdf file to allow fellow co-workers to either download it has a whole, or just sections of it.  I've tried looked into bookmarks and portfolio, but it just doesn't seem to do what he re