Replacing Images with ones the same size

Interested to find out if there's a facility or some coding
you can use that lets you resize an image to that of the previous
image in a particular table, so as to not affect the rest of the
page. Looking to do this automatically, without the use of any
image editing software.
Thanks

When you swap images, the incoming image is 'squeezed' to fit
within the
outgoing image's dimensions. There are three ways to
workaround this -
1. Do not use a dimension in the outgoing image's code, e.g.,
<img src="whatever.jpg>
This will allow the incoming image to be displayed at its
native size. But,
the downside is that your page will 'jiggle' to adapte to
that new size if
it's significantly different. This may, or may not, be a
consideration for
your page/needs.
2. Make both images the same size by adding canvas to the
smaller
dimensions so that the dimensions in both height and width
are the same.
This is usually the best way to handle such issues.
3. Don't use image swaps at all - use hidden page elements,
and display
them as needed, perhaps with the Show/Hide Element behavior.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"davislove" <[email protected]> wrote in
message
news:f82et0$igd$[email protected]..
> Interested to find out if there's a facility or some
coding you can use
> that
> lets you resize an image to that of the previous image
in a particular
> table,
> so as to not affect the rest of the page. Looking to do
this
> automatically,
> without the use of any image editing software.
>
> Thanks
>

Similar Messages

  • How do I make selective screenshot images in cells the same size?

    I am putting together a spreadsheet to list the purchasing options for our company from some of the Mac mini models but have a problem with image sizes in spreadsheet cells.
    First I took screenshots of each of the price and spec panels of the self-configured options I was interested in recommending using CmdCtrl+Shift4 to save the screenshot to the clipboard. Next, I highlighted the cell into which the image was destined to go and clicked Cmd+V and the image appeared in the cell (as an image fill for background colour). I repeated this process for six different Mac minis, being careful to start and finish the crosshairs in exactly the same place for each option. Each of these images had been lifted from a separate Tab in Safari 4.0.5 and appeared to be identically sized.
    The problem is, when placed in the spreadsheet cell grid, each image was either higher or lower than the one next to it, yet all cells were the exact same size. Some images appeared to be centred in the cell, others appeared to be top aligned.
    Can anyone help me to understand why this happens, and to give a suggestion on how to avoid it in the future?
    TIA

    OK, my mistake! The images were not the same size because the specs were different for each one, meaning that the info boxes were of different heights. When I copied them again, using the coordinates to ensure the screenshots were exactly the same size this time (rather than adding on a fixed width to the outside of the boxes) the problem was solved.
    Sometimes it's the user not the tools that has the problem!
    Having said that, it would be useful if the images were not background fills, but images that you could highlight because that would show quite quickly the size of each one - and allow you to add a background colour to a column to indicate a category type.
    Thanks for your help!

  • How Can I replace an image and save the same size as the previous?

    I want to replace an image in a PDF, but I would like to keep the same size, and location as the previous. I have tried to to it, but the new image takes a different size.
    This is a PDF exported from an InDesign template.

    Thank you.
    The problem is that the person to edit the PDF doesn´t have ID and doesn't know how to use it.
    The idea is that the design department create very sharp ID templates for people from other departments of the company only have to replace information (text and image).
    We are looking for a program to edit PDF files and function as templates forreplacement information.

  • Adjusting multiple images to be the same size?

    Hi,
    I'm trying to create a photo collage in Photoshop that consist of multiple photos imported as Smart Objects into layers, that are all the same size. Ideally, I'd like to be able size/crop/scale each image as a group, or individually, on the fly. So lets say that I have 6 images as Smart Objects on layers, and that they are all of varying sizes, and I'd like to adjust each image to be the same precise size, 2" x 3". Maybe later I decide that they should all be 2.5" x 3."5, can I easily change all 6 images at once? I've tried going into Free Transform and changing the size of each individual image here, but I can't get the precise size that I want. Is there a way that I can open a dialog box, and specify the exact size? Can I then repeat this for all images/layers that I've selected?
    I hope this makes sense, and that someone has a brilliant idea on how to do this?
    Thanks!
    Jeff

    Image Processor doesn't get me what I'm after.
    Photoshop has the option to create a contact sheet. So imagine that I want to create a contact sheet of images, but keep them on separate layers, and be able to change the size of the images as I feel, to fit my collage.

  • Cropped image not filling the same size cell

    Hi all,
    I've been seeing an interesting issue with the print module in LR3.  OS is Win7 64-bit BTW.
    Take an image, crop it to 8x10, 5x7 or whatever.  Go to Print Module and select an 8x10 cell size template or a 5x7 (2) cells sized template..  The image won't fill the cell until you either choose the Zoom to Fill selection.  When you uncheck this option, the pic shrinks just a bit.  But if you select and unselect Stroke Border, the image will fill the cell without the overlap of Zoom to Fill and not shrink back off the edges of the cells.
    Anyone else see this?  It didn't work that way in LR2.x.  Is this a known bug?  Feedback appreciated.
    Tony...

    I see the opposite: LR2 used to crop to much when Zooming to fill. LR3 fills just right.
    Windows XP.

  • How can two pictures of the same size still appear to be a different size? (Photoshop CS6 problem)

    I called the big webdesign file "(X)" and the image I wanted to paste in it "(Y)",
    so that you won't be confused when you read it.
    What Happened
    For the design of a webpage, I made a photoshop-file(X) with a lot of squares(X). These squares(X) had the size 9,42×9,42 centimeters.
    I measured the squares(X) carefully and also made sure the size was in centimeters, so I am sure that the size was 9,42×9,42 cm.
    My plan was to fill the squares(X) with pictures(Y). I had a map on my computer with a lot of square-sized JPG-images(Y) in it. All I had
    to do was open the pictures(Y) in photoshop, change the size into 9,42×9,42 centimeters and copy+paste them into the squares(X)
    of the webdesign. I did this before and it worked perfectly.
    But then, I opened one of the images(Y) and when I wanted to resize it, the resize-tool said it was only 3,25×3,25 centimeters big.
    I thought it was strange, so I copied+pasted it into the design-file(X) with all the squares(X) that needed to be filled. Allthough photoshop
    had told me that the squares(X) in the file were 9,42×9,42 centimeters big and the image(Y) I resized was 3,25×3,25, the "small" image(Y)
    turned out to be bigger then the squares(X). And when I resized the "small" image(Y) into 9,42×9,42 centimeters, it was even bigger
    than it was before. How can this be, and how can I still make the images(X&Y) the same size?
    What I already tried
    - I made the file of the webdesign(X) with all the squares(X) into one layer, copied the file(X) and opened a new file(X) with the same
    measurements of the old file(X). I also changed the resolution of the file(X) into pixels/centimeters instead of pixels/inches.
    Then I pasted the image(X) of the old file into the new file. I didn't work; the image(X) that I pasted in the new file was bigger and
    when I pasted the other picture(Y) in this image, the same problem was still there.
    - I also opened the picture(Y) in photoshop, made a screenshot of it and then pasted the screenshot into paint. With paint I cropped
    it again and saved it as a JPEG-file. After that, I opened the image (Y) in photoshop again. It now had the size of 11,27×11,27 centimeters.
    Then I resized the image(Y) into 9,42×9,42 cm, but it still wasn't as big as the squares(X).
    Could you help me please?
    I really don't understand why this problem is happening and I can't think of a solution because I am still quite unexperienced with photoshop
    and I also couldn't find the answer on the internet. I assume the solution is very simple, but I haven't found it yet allthough I have to finish this
    project soon and I also have to use the image(Y). So any help would be very appreciated.
    Thanks,
    Simone

    You need to understand the basic of a digital image.
    Image is recorded as pixels and image is a rectangle so many pixels wide and so many pixel high.   Pixels do not have a fixed size. The images resolution setting defines the image current pixel size.
    So for example if you have and image that is 300 pixel wide and 200 pixels high and set its dip resolution to 100DPI the image size is 3" wide and 2" high.  Set its dip setting tp 300DPI the image size becomes 1" wide by 2/3" high.  Both the 3" x 2" and the 1"x2/3" images have the same 60000 RGB Colored Pixels.
    Web pages are sized to to be so many pixel wide and so many pixel high.  Often the height is not enforced scrolling is used when viewing. 
    However image for web pages often must not exceed so many pixel wide and high for displays have a fixed resolution and a fixed number of Pixels. You want images to fit on users displays.  Users use different displays some have high resolution displays and other have low resolution displays with far fewer pixels then high resolution displays.
    Web Image are normally image that have been interpolated down in number of pixels a resampled large image so that web image will fit on a low resolution  display with limited number of pixels. The image size the user see depend on the display they are currently using. A low resolution display's image will be much larger then the same image displayed on a nexus 10 with a 300dip display. Cheep low cost Desktop LCD have a 84DIP resolution, large high cost desktop displays are not be much higher in resolution somewhere near 108DPI.   Tablets, Laptop and Phones can have much higher resolution like the nexus 10 300DPI IPS display

  • How do I make a 20 X 30 print with layers of 16 X 20, 12 X 18, 11 X 14, 8 X 12, 8 X 10, 5 X 7 and 4 X 6 of the same image to display the different sizes available to someone?  Using Elements 13 with Windows 8.1

    How do I make a 20 X 30 print with layers of 16 X 20, 12 X 18, 11 X 14, 8 X 12, 8 X 10, 5 X 7 and 4 X 6 of the same image to display the different sizes available to someone?  Using Elements 13 with Windows 8.1
    A senior citizen needs some help.
    Thanks

    Saving each image as different size - is it an option for you?  I would save images with their name as: 20x30.png, 16x20.png etc etc.
    Or explain whether you want these in a webpage  in which case only one image is necessary and different sizes are displayed with good CSS code.  this is question for Dreamweaver forum if this is what you want.

  • Is Retina Display Algorithm Changing the Images at the Same Size?

    Hi. If the Retina Display has a denser pixerl per inch count, shouldn't it be making images smaller as you would in an iMac i7 display or any non Retina display for example? Is the Retina display and the iOS themselves are changing the images themselves so that they don't become smaller? Would that mean, photos for example are not in their original state when you view it on the Retina Display with it's added details coz' it's the photos remain the same size only sharper? If you saved that on your iMac, does it mean it retains the changes the Retina Display made to it when it's on your desktop Mac or does it revert it to the original? Thanks in advance. Gbu.

    Kiarazza
    No you are not wrong to be upset.  Should Apple have given you the heads up, yes.  Like you experience with Dell I had a similar experience with a phone a few years back, the store exchanged the one I purchased a short time later with the newly released device. The store employees are there to sell and we do live in a buyer be ware world for the most part.  Truthfully the store employees might not have even known when the new model would be released.  In general electronics are evolving extremely rapidly.  Any "new" phone, tablet, computer type device today will be an "old model" tomorrow.  While you feel you may have been mislead this is just a fact at this time.  With that said...
    While I have had iPods for years my first experience, and last, with an Apple store subsequent Apple's customer service was about 11-12 months ago when I got an iPad &amp; iPhone. I have found them both to be substandard.
    But look at what you have and take it for what is, a pretty sophisticated devise.  the iPad you purchased is still a fine machine.  By no means is it out dated. Use it enjoy it and don't look back. You'll drive yourself mad otherwise because there will always be a newer model tomorrow.  
    These forums a full of some very helpful people for the most part. 
    Best of luck.

  • Resizing images on two layers to the same size?

    OK, it's kind of difficult to explain but what I am trying to do is create posters in pages and I am pasting photographs in there from different layers of the same photo and then resizing them. But the trouble is getting both to the same size, is there an autosnap feature for this or something?
    I find it kind of irksome when I create an image and resize it to a specific dimension in preview then copy+paste it into a Pages document of the same dimensions and it resizes it smaller.
    How do I get it to the same size without manually dragging the corners with my mouse?
    Does that question make sense? Can anyone help?

    Actually I just found a neat way to do it in GIMP (great peice of software BTW) the question remains of how to resize it in Pages...

  • Can I print several different pics of the same size on one shee  of papert?

    Hi,
    I should like to print a group of several different pics of the same size & resolution on one sheet of (A4) paper eg 6 family photos. There doesn't seem to be a template for this - just two choices of format (both with one large and a few smaller format) and there is no 'Printer' pop up menu.
    I tried to laboriously copy pics to a two column works word processing document (after resizing in a different one so that they would fit in the columns). This is time consuming and when down sizing the pics lose resolution!
    Maybe I can download templates somewhere on the apple site as suggested by apple care but I couldn't find out where. Maybe there is a possibility of doing some contact prints?
    Any help much appreciated - many thanks - John

    Select the 6 photos you want printed in the iPhoto Library or Album window.
    Choose File->Print.
    In the Print dialog box, Select the paper size in the Paper popup menu.
    In the Style popup menu, select N-Up.
    In the Photos per page popup select 6.
    The preview should show what you'll get. I hope its what you wanted.
    Message was edited by: Thomas Emmerich

  • Lightning to 30 pin adapter with a lightning end is the same size as the cable that comes with the phone?

    Has anyone found a lightning to 30 pin adapter where the lightning end is the same size as the cable that comes with the phone?  I know there have been some non-apple versions, but I can't tell if they are the same as the Apple versions where the lightnin end is slightly bigger than the cabe that ships with the phone.  Most iPhone bumpers only accomodate the original charing cabe ad the adapter cable is just slighter bigger and doesnt fit.  Also, i'm not referring to the square, cable-less adapter.

    Depending on your caes I shaped mine carefully with a craft knife seems all the case manufacturers designed the cases for lightning cables but seemed blind to the adapter and it's likely use
    Have you not seen the Apple adapter with .2m cable between the  plugs
    http://store.apple.com/us/product/MD824ZM/A/lightning-to-30-pin-adapter-02-m?fno de=3a
    will do what you want ,I use one in exactly same scenario

  • How to make different size images the same size pdf in Acrobat.

    I am trying to place 2 different size images into acrobat to create a pdf but one image is half the size. How do i make each page the same size when the images are different sizes?

    Thank you, I changed the image size to match and then placed them in acrobat.

  • Is there a script that Quickly get the Equidistant and The same size images.

    Is there a script that Quickly get the Equidistant and The same size images.
    General,I used the paste into the interior one by one, when it is a lot ,will waste a lot of time

    Is there a script that Quickly get the Equidistant and The same size images.
    General,I used the paste into the interior one by one, when it is a lot ,will waste a lot of time

  • A way to resize images so that all are the same size??

    I've got a minor complaint about InDesign going all the way back to version 1.0. I have a bunch of square images that I want to drop into a layout and then resize so that they're all the same size, e.g 2 inches wide (constrained height) or something. However, all the tools I've tried to make this work only resize all the images by percent, so the ones that started out larger are still too large. Its frankly a huge source of stress, since there's no easy "Actions" palette as in Photoshop and I don't want to resort to real scripting. Can anyone tell me if there's a way to resize images absolutely in the layout?
    Thanks in advance!

    Change your first frame using the control panel's H and W fields. Then
    select the rest of the frames and use the object>transform
    again>transform sequence again individually command.
    But you'd really be better off creating one and then using step and
    repeat to get them all correct. Use the frame fitting options before
    placing any graphics and you'll be good to go.
    Bob

  • Buttons become the same size as my image?? PLEASE HELP

    Hi guys,
    this is the second posting of this topic, as in the first one i didn't post my code properly (sorry!!!)
    My problem is that the buttons i have in the code come up as the same size as the 'Goldsmiths' Image. How can i alter the provided code to make the image stay the same size and the buttons to have the default button size?
    Thanks
    //SSPanesar
    //copyright 2005 all rights reserved
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    public class SwingApplication implements ActionListener {
    private static String labelPrefix = "Number of button clicks: ";
    private int numClicks = 0;
    final JLabel label = new JLabel(labelPrefix + "0 ");
    //Specify the look and feel to use. Valid values:
    //null (use the default), "Metal", "System", "Motif", "GTK+"
    final static String LOOKANDFEEL = "System";
    public Component createComponents() {
    JButton button = new JButton("I'm a Swing button!");
    button.setMnemonic(KeyEvent.VK_I);
    button.addActionListener(this);
    label.setLabelFor(button);
    JButton button1 = new JButton("I'm a Swing button!");
         button1.setMnemonic(KeyEvent.VK_I);
         button1.addActionListener(this);
    label.setLabelFor(button1);
    JButton button2 = new JButton("I'm a Swing button!");
         button2.setMnemonic(KeyEvent.VK_I);
         button2.addActionListener(this);
    label.setLabelFor(button2);
    JButton button3 = new JButton("I'm a Swing button!");
         button3.setMnemonic(KeyEvent.VK_I);
         button3.addActionListener(this);
    label.setLabelFor(button3);
    JButton button4 = new JButton("I'm a Swing button!");
         button4.setMnemonic(KeyEvent.VK_I);
         button4.addActionListener(this);
    label.setLabelFor(button4);
    JLabel label = new JLabel();
         URL loc = getClass().getResource("smalllogo2.gif");
         Icon icon = new ImageIcon(loc);
         label.setSize(icon.getIconWidth(), icon.getIconHeight());
    label.setIcon(icon);
    JLabel label2 = new JLabel();
         URL loc2 = getClass().getResource("SheeraAutoRepair2.jpg");
         Icon icon2 = new ImageIcon(loc2);
         label2.setSize(icon.getIconWidth(), icon.getIconHeight());
    label2.setIcon(icon2);
    * An easy way to put space between a top-level container
    * and its contents is to put the contents in a JPanel
    * that has an "empty" border.
    JPanel pane = new JPanel(new GridLayout(0, 1));
    //pane.setLayout(new FlowLayout(FlowLayout.RIGHT));
    pane.add(label);
    pane.add(button);
    pane.add(button1);
    pane.add(button2);
    pane.add(button3);
    pane.add(button4);
    pane.setBorder(BorderFactory.createEmptyBorder(
    30, //top
    30, //left
    10, //bottom
    30) //right
    pane.setBackground(Color.white);
    return pane;
    public void actionPerformed(ActionEvent e) {
    numClicks++;
    label.setText(labelPrefix + numClicks);
    private static void initLookAndFeel() {
    String lookAndFeel = null;
    if (LOOKANDFEEL != null) {
    if (LOOKANDFEEL.equals("Metal")) {
    lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
    } else if (LOOKANDFEEL.equals("System")) {
    lookAndFeel = UIManager.getSystemLookAndFeelClassName();
    } else if (LOOKANDFEEL.equals("Motif")) {
    lookAndFeel = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
    } else if (LOOKANDFEEL.equals("GTK+")) { //new in 1.4.2
    lookAndFeel = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
    } else {
    System.err.println("Unexpected value of LOOKANDFEEL specified: "
    + LOOKANDFEEL);
    lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
    try {
    UIManager.setLookAndFeel(lookAndFeel);
    } catch (ClassNotFoundException e) {
    System.err.println("Couldn't find class for specified look and feel:"
    + lookAndFeel);
    System.err.println("Did you include the L&F library in the class path?");
    System.err.println("Using the default look and feel.");
    } catch (UnsupportedLookAndFeelException e) {
    System.err.println("Can't use the specified look and feel ("
    + lookAndFeel
    + ") on this platform.");
    System.err.println("Using the default look and feel.");
    } catch (Exception e) {
    System.err.println("Couldn't get specified look and feel ("
    + lookAndFeel
    + "), for some reason.");
    System.err.println("Using the default look and feel.");
    e.printStackTrace();
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Set the look and feel.
    initLookAndFeel();
    //Make sure we have nice window decorations.
    // JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("SwingApplication");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //final int width=300;
    //final int height=400;
    frame.setSize(600,900);
    SwingApplication app = new SwingApplication();
    Component contents = app.createComponents();
    frame.getContentPane().add(contents, BorderLayout.CENTER);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    You still aren't using the "code" formatting tags as was suggested in your first posting in the forum.
    when i add the picture and the buttons go vertically down from the image,Well, this doesn't make sense since you are using a FlowLayout which means components will be displayed horizontally on a line, not vertically.
    If you need further help then you need to create a [url http://www.physci.org/codes/sscce.jsp]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided. (ie. the code doesn't compile so we can't test it).

Maybe you are looking for

  • Update withholding tax records post change in vendor master recepient type

    Dear All, We have created a company ( recepient type CO) vendor wrongly with recepient type defined as OT- Others. The invoices were posted, TDS deducted and paid by selecting proper tax code / rate for corporate and not for others. However as the ve

  • Separating forwarded traffic from bounce back traffic

    Dear All, iMS sends bounce backs and forwarded email to tcp_local which then routes the email to the configured smarthost. Now because forwarded email is much more important than bounce back messages to fake senders, is it possible to separate them i

  • Oracle 10g Certification Upgrade from 9i OCP

    Hi All, I am OCP 9i.. If I give one upgrade paper, I will 10g certified.. Question is: Is it compulsary to take training from recognised centers to appear for the exam.. As when I did 9i certification, It was compulsary to do atleast one paper traini

  • Printer installation crashed and now won't install

    Hi, I'm running 10.9.2 on a MacBook Pro. I tried to install the software for a Samsung printer and about half way through the process the laptop was closed by my daughter. I tried to restart the process but after I force quit the installation and tri

  • OM: Evaluationpath

    Hi frndz, How to get all the employees who are under one org.unit? I think using RH_STRUC_GET we can get but i'm confusing in selecting evaluation path ? Can anybody give me some idea regarding this and relationsign,relationships? Best Regards, Venka