How to enlarge the image when the mouse is clicked

I want to enlarge the image when the user click the image. How to do it by muse? Thank You!!!

Hi,
When you create a page in Muse called "Home" or "Gallery" or other else, when you export your site as HTML you must have a file called "home.html", "gallery.html" or "other else.html". Remember in what page you putted the Gallery in Muse and edit it with notepad, wordpad or similar and find the code where the gallery is linked (search the name of one of your images, is the best way to find it) and replace the code with something similar like that:
<code>
<a href="images/medidas06.jpg" rel="lightbox[gallery]"><img class="block ImageInclude" id="u3527_img" data-src="images/medidas06.jpg" src="images/blank.gif" alt="" data-width="248" data-height="360"/> </a>
</code>
The path to the JPG files must be ok with your website.
The other steps are well explained by the readme of the lightbox library
Regards

Similar Messages

  • How to deconvolute an image when the line spread function is known

    I want to deblur images with a custom filter. Therefore I took images of a sharp edge, which gives me the line spread function (and so also the point spread function)
    It must be possible to derive a deconvolution kernel from this, but I don't know how.
    Or should I do it in Fourierspace?
    Thanks in advance!
    Certified LabVIEW Developer (CLD)

    I would think that the best way to do this is to use a deconvolution matrix. You can find out how to calculate the matrix in most vision books. There is a general formula.

  • How can I draw an image when the mouse is clicked

    I am trying to draw X's and O's for a tic-tac-toe board and I cannot conceptualize how to get the X or O to appear if the mouse is pressed on an individual [row][col].
    Im using the MouseListener with a mouseAdapter as an inner class of paintComponent. Using the mousePressed method I want to draw the X or O when one square detects a mousepress
    How can I get the image on the partiuclar square. Im stumped presently. Any help is appreciated
    Thanks.

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class TicTacToe extends JPanel
        Rectangle[] cells;
        int[] hits;
        final int
            GRID =  3,
            PAD  = 25;
        public TicTacToe()
            // jvm initializes all elements to zero by default
            hits = new int[GRID * GRID];
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int w = getWidth();
            int h = getHeight();
            int xInc = (w - 2*PAD)/GRID;
            int yInc = (h - 2*PAD)/GRID;
            if(cells == null)
                initCells(xInc, yInc);
            // vertical lines
            int x1 = PAD + xInc, y1 = PAD, x2 = w-PAD, y2 = h-PAD;
            for(int j = 0; j < GRID-1; j++)
                g2.drawLine(x1, y1, x1, y2);
                x1 += xInc;
            // horizontal lines
            x1 = PAD; y1 = PAD + yInc;
            for(int j = 0; j < GRID-1; j++)
                g2.drawLine(x1, y1, x2, y1);
                y1 += yInc;
            // draw hits
            g2.setPaint(Color.red);
            for(int j = 0, side = 30; j < hits.length; j++)
                if(hits[j] == 1)
                    int row = j / GRID;
                    int col = j % GRID;
                    int x = PAD + xInc/2 + col * xInc - side/2;
                    int y = PAD + yInc/2 + row * yInc - side/2;
                    g2.fillRect(x, y, side, side);
            //g2.setPaint(Color.blue);
            //for(int j = 0; j < cells.length; j++)
            //    g2.draw(cells[j]);
        public void addHit(int cellIndex)
            hits[cellIndex] = 1;
            repaint();
        private void initCells(int width, int height)
            cells = new Rectangle[GRID * GRID];
            for(int row = 0; row < GRID; row++)
                for(int col = 0; col < GRID; col++)
                    int index = col + row * GRID;
                    int x = PAD + col * width;
                    int y = PAD + row * height;
                    cells[index] = new Rectangle(x, y, width, height);
        public static void main(String[] args)
            TicTacToe ticTacToe = new TicTacToe();
            Selector selector = new Selector(ticTacToe);
            ticTacToe.addMouseListener(selector);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(ticTacToe);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class Selector extends MouseAdapter
        TicTacToe ticTacToe;
        public Selector(TicTacToe ttt)
            ticTacToe = ttt;
        public void mousePressed(MouseEvent e)
            Point p = e.getPoint();
            Rectangle[] r = ticTacToe.cells;
            for(int j = 0; j < r.length; j++)
                if(r[j].contains(p))
                    ticTacToe.addHit(j);
                    break;
    }

  • Basic Photoshop 101: I want to use an image with an outer glow in another Photoshop document. When I place the image, the outer glow has hard edges where the box of the image cut the glow off. Naturally, I want a soft feathered outer glow. How do I get th

    Basic Photoshop 101: I want to use an image with an outer glow in another Photoshop document. When I place the image, the outer glow has hard edges where the box of the image cut the glow off. Naturally, I want a soft feathered outer glow. How do I achieve that? Thank you.

    That should work out, maybe edit it to force updating in the new image.
    Could you please post a screenshot with the Layers Panel visible?

  • How do I see the URL when I mouse over a link?

    how do I see the URL when I mouse over a link?

    Should show at the bottom of your window if you go to View and click on Show Status Bar.

  • In lightroom 5 I have been importing images via a card reader. Now you can see the images on the computer but when I try to import it says that it cannot read the card any ideas how to solve?

    I have been importing images via  card reader with no problem. Now all of a sudden I can see the images on the screen but when I try to import the computer says that it can not read them and quotes numbers of the images. Any idea how to solve?

    Please give us the exact error message.
    Please state your operating system.
    Please state the exact version of Lightroom you are using.
    Please give us any other relevant details.
    What does this mean: "Now all of a sudden I can see the images on the screen"? Are you looking in Lightroom or your operating system or the camera screen? Where?

  • When you drag a link onto your desktop, how do you change the image for the shortcut?

    When you drag a link onto your desktop, how do you change the image for the shortcut?

    Select it, hit command-i (or choose File -> Get Info), select the icon in the info window and paste something else there.

  • How can I save the images and movies on a  external Disk from iphoto program, to protect the images when problems occur in the laptop,

    How can I save the images and movies on a  external Disk from iphoto program, to protect the images when problems occur in the laptop,

    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
    If you want to back up the Photos only:
    Export them using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • How to preview the effect of Plugin in the original image,when the modal dialog is open?

    Hi,
    I am writing a plugin to Photoshop CS2, as some plugins, I want to add a “Preview” option for my model dialog. So I want to see the effect of my Plugin in the original image when my model dialog is open.
    Any one know how to do that? How to see the effect in the original image, when the dialog is open?
    Thank you!

    As explained multiple times in your SDK - you cannot do that.

  • How to use different images in the Table of Contents?

    Hello everyone, I am creating an iBook about Architecture and I would like to have different images for each Chapter in the Table of Contents... But when I add an image it automatically appears on all the other chapters, too. What am i doing wrong?

    You drag the image to the screen and it replaces the placeholder image.
    When you hover over the current image, don't you get the message "this is a placeholder . . ." under your mouse pointer?
    I think the documentation states that the new image must be jpg or png, but a Photoshop image seems to work too.
    In portrait mode, only one image shows at the top of the list of chapters, and that can be changed too.
    But in landscape mode, all of the separate chapter images can be accessed by clicking the littel dots at the bottom of the screen when at the TOC page.

  • How can I save the images to the iPhone anywhere

    Hello  I own Time capsule 3 tb. How can I save the images to the iPhone anywhere in Time capsule
    note i used fileexplorer when Outside the home isee Outside Message " error connection failed with the error operation time out "
    Thanks

    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
    If you want to back up the Photos only:
    Export them using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • Here's How to change the image on the TOC to be different for each chapter.

    Suppose you don't follow the Very Strict default Rule that you use the exact same image parameters (shape, pixels, size, etc.) for your Table of Contents image entry as you use for its associated Chapter, a requirement built in to iBooks Author that applies universally to ALL Chapters under the One Image Size and Location is Best For Everyone rule. Suppose you start adding chapters and messing with each chapter's image and then, later, it occurs to you to get the TOC all set up and when you go there you encounter a mess. Either by chance one of the images you had in one of your chapters found its way to the TOC and, gosh, now every TOC entry for every chapter has the very same exact size and location image! This is not part of your grand plan and then... how to make lemonade here? It's Not Obvious.
    You can resolve this in your favor. You must do this patiently.
    First, whatever image size is created in any chapter TOC window—by dragging the image placeholder handle re-size box—will apply to ALL image entries (i.e., chapter image entries) in the TOC . If you want maximum flexibility make the image placeholder box big. Hint: you may need to mess with the Edit Mask option in order to get the image placeholder size box in the size and location you want. An option here in preparing your images is to **** with Photoshop or Preview to really engineer the images that will be used for the Chapter Page and, separately, the TOC / these could be the same content images but formatted differently in order to look nice in their respective locations. The Chapter Page image can be manipulated on the Chapter Page. On the other hand, the TOC image must fit within whatever (universal) size you've created.
    Plan ahead
    Get your TOC images ready.
    Loop until done:
    a) from the Finder menu, right click on the filename of the image to be put in the TOC / select the menu item “Copy”..this image. This puts the image in the clipboard. Another way to get the image in the clipboard is to pull it up with Preview and pretend to crop it (full size) then command-C. Another way: just click on it if it is in a file somewhere and again command-C.
    b) Click on the Table of Contents option (near the top of the left navigation column in ibooks Author ) and navigate to the TOC chapter for this image by clicking on the correct chapter “button” (a white dot in a black background surrounded by a white rounded-corner box) in the center bottom of the TOC chapter window;
    c) Click on the image placeholder in this chapter TOC window to reveal the highlight boxes defining the boundary of the image;
    d)command-V (paste); Voila! the image is in the TOC. NOTE: dragging the image into the highlighted imagebox (see c) above) will NOT work.
    e) mess with the image by clicking the mask editor button so the image fits as desired being careful to move the image only and not resize the image box.
    Go back to loop and repeat.

    Finally, after a while, I finally found all the procedure explained,
    for those who need:
    http://www.irisvista.com/tech/laptops/ToshibaS1/tecraS1_1.htm

  • How do I make all of the images of the icons show in Safari Favorites?

    I am running the Yosemite Safari and when I click the Favorites bar some of the links don't have the images (look at attached photo). How can I make the image for the website appear?
    See how the Gmail, Youtube, Google, Google News all don't have icons? Thank you for your help!

    Try emptying caches.
        Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        "Develop" menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.
        Delete Caches.db
        Close all windows and quit all applications.
        Hold "option" key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the dropdown.
       Library > Caches > com.apple.Safari > Caches.db
       Right click the Caches.db file and select "Move To Trash.
       Close windows and relaunch Safari.

  • How to paste an image from the database by creating a new page?

    Hai,
    i'm trying to paste more than 6 images in two pages...
    The condition is that i want to paste only 3 images in a page.
    When the first 3 images were pasted... i want a new page to be automatically created and the next or 4th image will be pasted on the
    next page...
    i have codings for creating a new page and for pasting the image...
    But how shall shall i paste the 4th image in the next page...
    Can any one plzz explain me...

    >
    Hi, I'd like to display a dynamic image from the web inside a JLabel or any other swing component it could work in. I've been looking on the Swing tutorials and others forums, all I can have is that a JLabel can load an Icon object, defined by an image URL, but can this URL be like "http://xxxxx/image.jpg" somehow or can it only be a local image URL?>
    I do not know why you start talking about an image on the web then go on to show concerns about whether it will work for a 'local' URL.
    But perhaps this answer will cover the possibilities.
    So long as you can from an URL to the image, and the bytes are available for download (e.g. some web sites wrap a direct call to an image in HTML that embeds the image), the URL based icon constructors will successfully load it.
    It does not matter if that URL points to
    - a web site,
    - a local server ('localhost'),
    - an URL representation of a File on the local file system, or
    - it is inside a Jar file that is on the application's run-time classpath.
    How you go about forming a valid URL to a 'local resources' (or indeed what you regard as local resources) is another matter, depending on the form of the project, and how the resources are stored (see list above).
    Probably the main reason that examples use images at a hard coded URL on the net is that it makes an 'image example' self contained. As soon as we compile and run it, we can see the result. I have posted a few examples like that on these forums.
    Edit 1:
    BTW - Welcome to the Sun forums
    Edited by: AndrewThompson64 on Apr 21, 2009 12:15 PM

  • How do i put a cover on the album when the album isnt a part of the itunes store?

    How do i put a cover on the album when the album isnt a part of the itunes store?

    fishmore wrote:
    BUT the image didn't actually work and all I ended up with was the word JPEG and a generic image... Any assistance would be appreciated - Thank you.
    Sounds like you copied an icon from the icon spot in a Get Info window for an image file, then pasted that intoo the same spot in the Get Info window for your folder. As you found out, that won't work - unless the image file already has a custom icon, that is.
    Visually, it's hard to tell if an image file has a custom icon, particularly if View Options for a folder (or the desktop) has been set to 'show icon preview' - the OS will use Preview to make an icon for that file 'on the fly', but it does not really exist as far as being a copyable icon.
    For what you want to do, the solution is really very easy.
    Do a Get Info on the image file whose icon you want to copy for your folder. In that Get Info window is a larger depiction of the image about halfway down - double-click that, and it should open in Preview.
    Press Command-A (that's Select All in the Edit menu).
    Press Command-C (that's Copy in the Edit menu).
    Close Preview, close the Get Info window for the image file.
    Open the Get Info window for your folder.
    Select the icon in the upper left by clicking it once - a blue border should appear around it.
    Press Command-V (that's Paste in the Edit menu).
    Close the Get Info window, and you're done.
    Comment - that's a nice way to make unique folder icons, but there is one drawback: how to distinguish visually between a folder with such an icon and an image file.
    One way, old school, is to append the character ƒ to the end of the name you give the folder. That character is easily generated by pressing Option-F and can be a visual indicator that the item is actually a folder and not an image.

Maybe you are looking for

  • Error Invoking 'LookupXref()' in AIA Order To Cash PIP

    Hi All, We are customizing Order To Cas and we are facing Cross reference issue in Sales Order Interface. Sales Order Interface flow : In this flow first we create/update ship-to for the customer ,once ship-to is created for customer we populate Cros

  • How do you read your favorite feeds?

    Hi! This is my very first post on Arch forums. I'm wondering about how do you read your favorite feeds? Which software do you use and why (what kind of features). I'm more interested in finding a little software that uses the system tray. Yet I'm als

  • Flash Builder and Flex 4 Press Coverage

    Could someone post some links to some of the  BIG BANG press coverage of the Flash Builder and Flex 4 releases ?

  • OSA on the Web not showing descriptions

    Hi All,. We have web enabled OSA and when i click on New Report option ,the frontend is not showing the descriptions for measures or dimesion but displaying only the code . Any help is greatly appretiated. Senthil

  • Ralink RT2870 constantly losing connection, then reconnecting.

    dmesg output when it loses connection then reconnects: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan0: no IPv6 routers present wlan0: deauthenticating from 00:21:7c:f0:63:e1 by local choice (reason=3) cfg80211: Calling CRDA to update world