Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Image Resize Possible?  (Read 3442 times)

0 Members and 1 Guest are viewing this topic.

jessekaye

  • Guest
Image Resize Possible?
« on: February 05, 2010, 01:51:45 PM »
Hi everyone,

I would like to know if this is possible.On my articles i would like to have images that can be expanded via a mouse hover or a click of the mouse.e.g;like on Ebay where you see a small image and you click on it and it expands to show the full size!Is this possible? is this hard to achieve? can this be done via the editor.

Thanks for any and all answers....

kpac

  • Web moderator
  • Moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: Image Resize Possible?
« Reply #1 on: February 05, 2010, 02:00:58 PM »
eBay and a lot of other sites create a new thumbnail image from the larger one, usually. However, you can try this:

Code: [Select]
<img src="image.jpg" height="250" width="120" onclick="window.open('http://www.website.com/image.jpg', '_blank', 'width=800, height=500');" />
In the part, "window.open......", the URL should be the same as the image's source.