Possible to have new image with each new dowload?

How can I have one image on a page get replaced with a
different, but exactly the same sized, image each time someone
downloads the page? I want it to cycle through about 6 images, or
in random order, either way. Any online tutorials how to do
this?

brainfillet wrote:
> How can I have one image on a page get replaced with a
different, but exactly
> the same sized, image each time someone downloads the
page? I want it to cycle
> through about 6 images, or in random order, either way.
Any online tutorials
> how to do this?
There are millions of them. Google "random image script".
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • RAW JPEG PROBLEM  I'm new to Aperture and neglected to mark RAW JPEG pairs when I imported (from iPhoto).  Now I have two images for each photo.  Help!!  How can I change this?

    I’m new to Aperture and neglected to mark RAW+JPEG pairs when I imported (from iPhoto).  Now I have two images for each photo.  Help!!  How can I change this?

    How did you import from iPhoto? If you saw the Import panel with raw -jpeg pairs, then you probably did not import your iPhoto library as library, but as files, and then you will see plenty of duplicates - previews, thumbnails, originls, edited versions. If that should be the case, it would be better to delete the import from iPhoto and to import your iPhoto library again, but this time using "File > Import > Library".
    Only that would require compatible versions of iPhoto and Aperture.  What are your Aperture and iPhoto version numbers?

  • How can I get album artwork to automatically appear with each new episode?

    I have a podcast subscription through the iTunes store and I dragged a piece of artwork into the little box that says "Drag Album Artwork Here" since when I tried to right-click and "Download Album Artwork" nothing happened. How do I get that piece of album artwork to automatically appear with each new episode of the podcast that gets downloaded instead of having to click and drag the image from my desktop every time a new episode gets downloaded?
    Thanks.
    Message was edited by: Chorister

    Thanks for your reply. It seems like what I'm wanting to do is rather impossible, although I hope the iTunes developers can include such a feature in a later release of the software.

  • In browser editing: Can my client add new images with hyper-links to their websites without having to replace images already there?

    My client would like to be able to add new images to their site themselves and use them as hyper-links to external sites without having to replace an old image with the new one (or blank place holding images - far from ideal). Is there ANY way that this is possible? They do not wish to update and add new images/links regularly and it is certanly not intended to be used as a blog or way of being able to constantly keep content new and fresh otherwise I would set them up with a blog account and add that to the site. It is merely a way of adding links to other local businesses every once in a while.
    Please see the page they wish to update... Friends. (Please excuse the layout... the customer will not be able to resize or edit the images themselves and wishes to add them as-is!)
    Thanks in advance for any help. If anybody knows how I can ask an Adobe official mod, that would be great... that, or make a request for a future addition in an update?
    Warm regards,
    Ben Gathercole

    Hi Andria,
    Changing links is currently not possible with in-browser editing.
    Please post this as a feature request in the following feedback form :
    http://feedback.inbrowserediting.com/?url=
    Regards,
    Akshay

  • A New Thread With Each Mouse Click

    Dear Java Programmers,
    The following code gives a bouncing ball inside of a panel. With each click, I need to have a different ball added and the previous ball to keep on bouncing. This part is a larger question of multitreading. When I have an action listener for mouse clicks, and I need to have a new thread with each click, how do I do this and where do I put it?
    Thank you in advance.
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import java.awt.BorderLayout;
    import java.awt.Graphics;
    import java.awt.*;
    import java.awt.Color;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    public class Multiball extends JPanel implements Runnable, MouseListener {
    Thread blueBall;
    boolean xUp, yUp;
    int x= -10, y= -10, xDx, yDy;
    public Multiball()
    xUp = false;
    yUp = false;
    xDx = 1;
    yDy = 1;
    addMouseListener( this );
    public void mousePressed( MouseEvent e )
    x = e.getX();
    y = e.getY();
    blueBall = new Thread( this );
    blueBall.start();
    public void paint( Graphics g )
    super.paint( g );
    g.setColor( Color.blue );
    g.fillOval( x, y, 10, 10 );
    public void run()
    while ( true ) {
    try {
    blueBall.sleep( 10 );
    catch ( Exception e ) {
    System.err.println( "Exception: " + e.toString() );
    if ( xUp == true )
    x += xDx;
    else
    x -= xDx;
    if ( yUp == true )
    y += yDy;
    else
    y -= yDy;
    if ( y <= 0 ) {
    yUp = true;
    yDy = ( int ) ( Math.random() * 1 + 2 );
    else if ( y >= 183 ) {
    yDy = ( int ) ( Math.random() * 1 + 2 );
    yUp = false;
    if ( x <= 0 ) {
    xUp = true;
    xDx = ( int ) ( Math.random() * 1 + 2 );
    else if ( x >= 220 ) {
    xUp = false;
    xDx = ( int ) ( Math.random() * 1 + 2 );
    repaint();
    public void mouseExited( MouseEvent e ) {}
    public void mouseClicked( MouseEvent e ) {}
    public void mouseReleased( MouseEvent e ) {}
    public void mouseEntered( MouseEvent e ) {}
    public static void main(String args[])
    JFrame a = new JFrame("Ball Bounce");
    a.add(new Multiball(), BorderLayout.CENTER);
    a.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    a.setSize(240,230);
    a.setVisible(true);
    }

    Thank you very much for your replies. As for the multithreading, I have created 20 threads in the main method. With each click, one of these 20 threads starts in order. Now, how do I get a ball to paint with each one? How do I reference them in the paintComponent method?
       public void mousePressed( MouseEvent e )
             x = e.getX();
             y = e.getY();
             blueBall = new Thread( this );
             blueBall.start();
             count ++;
             System.out.print ("count is " + count);
          MyThread[] threads = new MyThread[20];
                for ( int ball = 0;ball < count; ball ++){
                threads[ball] = new MyThread ("" + ball);
                threads[ball].start ();
       }

  • 1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    HI Frostyfrog
    CHeck out iTunes Match which has an annual fee of £21 or thereabouts. You can store a maximum of 25,000 songs there and they all become available on your other kit, iPhone, iPad and iPod. I know it works as I have over 23000 songs uploaded of which only a few we're bought through iTunes.
    it works by comparing your music to the whole iTunes music dadata base so you access the same tunes that you could get from iTunes. If you have obscure stuff, it uploads your own music to the cloud as a copy.
    I Find it incredible that on my iPhone with its 16gb memory I can view almost 200 gb of music (ie my 23000 songs) and play any of them. Anything I add to iTunes becomes available via the cloud fairly quickly from a few minutes or a little longer if adding a lot.
    The first time you use it it will take quite a while to match your music if you have a lot, but after that it is all automatic. Read the stuff on the apple site. Your PC needs to be at least running Vista. I recommend it and at less than 50p a week it's good value.
    Good luck

  • I had an iPod touch, but it was stolen or lost. Now that I have a new one with a new Apple ID, is there someway I can access and download all my old photos and data from my old Apple ID to my new device? I still remember my old Apple ID and password.

    I had an iPod touch, but it was stolen or lost. Now that I have a new one with a new Apple ID, is there someway I can access and download all my old photos and data from my old Apple ID to my new device? I still remember my old Apple ID and password.

    Restopre from backup
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    Also,
    - If you used PhotoStream then try getting them from your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer

  • My iphone is synced and backed up with another computer which is now broken... and i have synced it with a new one but when i want to do anything itunes says all data will be erased and replaced with the current itunes library?what do i do?

    my iphone is synced and backed up with another computer which is now broken...i have synced it with my new computer  but it hasnt transfered anything over to itunes and when i try to add anything to my iphone it says all data will be erased and replaced with the current itunes? i dont want to lose all my apps and music.... i dont know how to go around this problem? i want to back it all up and sync it properly to my new computer so that is now my main computer , so i can add ring tones and music etc with out it erasing everything ive got. any answers would be great and muchly appreciated. thanks, im not sure what operating system my iphone has either.....

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.
    Use your backup copy of your computer to put everything on the new one.
    It sounds like you have failed to do this, which is not good at all.
    You will have to transfer your itunes purchases from your iphone.  Authorize your computer for your itunes account 
    About iTunes Store authorization and deauthorization
    Open itunes, plug in iphone, do NOT sync, click File>Transfer Purchases
    When you do sync you will lose your pics ( photo library - synced from your old computer), your itunes content ( music, apps, videos,etc) , your contacts and your calendars.  So do NOT sync yet.  This is why a backup copy is so important.
    Enter one unique contact and calendar entry on your computer.
    When you first sync, you should get the option to merger the data.  Choose it.
    If you want your pics, then you will need to e-mail them to yourself before you sync.  They will not be of the original quality as they are reduced when synced to iphone.
    When all is as goos as it can be, then backup your computer, and always maintain the backup.

  • Hy, I have a problem with a new iPad Mini.

    Hy, I have a problem with a new iPad Mini.
    When I try to use the cameras, it doesn't work.
    I get to take 3-4 pictures and after that all I see is the shutter.
    It happends even if just start the camera app, or the facetime app, after 4-5s.
    I've reinstalled IOS 6.1 but nothing changed.
    It is a new ipad. What can I do?

    Ok, Orange Romania changed my iPad mini but now I have another problem.
    I bought the iPad mini on 01/feb/2013, took it to service on 06/feb/2013, and got another ipad mini on 12/feb/2013.
    But the new ipad mini keeps requesting the password for some user [email protected], and it does it from the first day of activation. This is suspect for me, so I checked it's serial with selfsolve.apple.com and it shows "Estimated Expiration Date: January 31, 2014" and since it has one year free service I am worried the iPad mini wasn't new.
    Please help.

  • Hi, Using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Any suggestions?

    Hi, I'm using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Have cleared space, checked Window - Doctor and server has green light.  Mail Activity shows 47 emails waiting to download, iPad and iPhone download them all OK - no extra big files stopping the download either.    In the past, quitting mail has worked, but not today... Any suggestions?

    Hi, I'm using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Have cleared space, checked Window - Doctor and server has green light.  Mail Activity shows 47 emails waiting to download, iPad and iPhone download them all OK - no extra big files stopping the download either.    In the past, quitting mail has worked, but not today... Any suggestions?

  • Must I print out a new Alignment Page with each new cartridge?

    Do I need to print out a new Alignment Page with each new cartridge I install on my HP Photosmart C4480?  Or can I save and reuse the initial one I got when first installing my printer cartridges?  The Alignment pages all seem to be identical   when I print them out with each new cartridge I install, but I'm not examining them with a microscope.
    If I can save and reuse the Alignment page with sucessive cartridge replacements, when I am following the procedure for installing a new cartridge and the printer prompts me to print out a new Alignment page, is there an option to skip that step?  I don't recall seeing that option on the control panel window on the printer.
    Thank you!
    This question was solved.
    View Solution.

    themadtoker wrote:
    do NOT listen to this expert.
    YOU DO NOT NEED A NEW ALIGNMENT PAGE EVERY TIME YOU INSTALL A NEW CARTRIDGE
    I registered just to respond to this
    The alignment pages all look the same because they are all the same, pretty sure its a scam to let you use ink.  [snip]
    I am pretty sure you do not understand what the alignment page is for - it provides information for alignment of black vs. color and also is used to calibrate the operating energy for the color cartridge.
    You may be able to "fool" the printer by reusing an old alignment page, but the quality will suffer as you will not be running at the optimum energy.  
    You are certainly free to do what you want with your printer but please do not mislead others with misinformation.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Photoshop won't open Raw images with my new Camera Canon 6D help! I use Photoshop CS5 extended version.

    Hello,
    I got a new camera and Photoshop and Lightroom won't open Raw images with my new Camera Canon 6D help! I use Photoshop CS5 extended version. and Lightroom 3

    Good news and bad news:
    The bad news is that you need CS6 or higher to open 6D RAWs. (The 6D didn't get support until Camera Raw 7.3; 7.0 premiered in CS6.) You can choose to upgrade (I'd recommend skipping CS6 and go straight for CC 2014 for $10/month) *OR*...
    ...the good news is that the DNG Converter can help you convert your RAWs into DNGs for use in CS5 and Lightroom 3.

  • I have a problem with my new ipad air 64g with cellular. When I off my ipad for a long period of time ( around 2 hours), my ipad air freeze. Nothing is showing on screen with any button except by pressing reboot (home   on/off button)

    I have a problem with my new ipad air 64g with cellular. When I off my ipad for a long period of time ( around 2 hours), my ipad air freeze. Nothing is showing on screen with any button except by pressing reboot (home   on/off button). Anyone out there can help. Thanks.

    I have a 64GB iPad Air WiFi+Cellular (Verizon), and I don't see the issues you are describing.  First I would suggest that you update your iPad to the newest iOS update.  If that doesn't help, then you may want to schedule an appointment at an Apple Genius Bar.  If you go this route, I suggest that you let the iPad sleep for long enough for the problem to arise before you go to your appointment.

  • I have gifted an airport extreme to a neighbor and I assumed she would be able to connect and "create a new network" with a new password on her iPhone. That didn't happen. It keeps asking for my password. What next? Thanks!

    I have gifted an airport extreme to a neighbor and I assumed she would be able to connect and "create a new network" with a new password on her iPhone. That didn't happen. It keeps asking for my password. What next? Thanks!

    Have them perform a complete power recycle of their networking hardware. Please check out the following AirPort User Tip for details. Also, make sure that they perform a "factory default" reset on the AirPort (as described in the tip) to be sure to return the AirPort back to its "out-of-th-box" configuration.

  • Instantiating new Image with iText

    This is probably a wrong forum to ask this question but I am desperate for help!!!
    I am developing a desktop that needs to create PDF documents.
    I am trying to instantiate a new image with the iText library.
    private static final String LOGO_URL="file://C$//source//project//images//image.jpg";
    .....more code....
    imageUrl = new URL(LOGO_URL)
    Image img=Image.getInstance(imageUrl);When I execute this code I get the following exception
    java.net.UnknownHostException: C$
    How can I Initialize the Image ?
    Thanks.

    Use a valid URL. The one you displayed there starts out looking like a file URL but then goes off the rails with that "C$" business.
    If it was supposed to represent a file on your C drive then that should be "C:". If it was supposed to represent a file on the C$ share on some other server, then you left out the server name.

Maybe you are looking for