Aug 8, 2008

Opening Images In Pictureviewer Instead Of Browser - Locally

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Opening Images In Pictureviewer Instead Of Browser - Locally

kvarnerexpress
What I am trying to do is make up a small HTML site which will be based localy on my computer and basicly show all of the images I have taken on different holidays. What I want though is when I click on an image for it to be opened up in Windows Picture Viewer. As the web site will all be saved locally on my computer and not be going on the internet is there any way of achiving this? I am running Windows XP Professional if it makes any difference

Thank you in advance,kvarnerexpress

Reply

Saint_Michael
hmmm not that i know of the only way that can be done if someone saved the image on the computer then open it up might be some php or javascripting in it but i am not to sure about it

Reply

truefusion
Not everyone has windows xp, and saint_michael is right. The only way that could possibly happen is if the user saves the images onto a computer which supports the picture viewer. When you click on a link to an image, the browser automatically downloads it and previews it on the browser, it doesnt give you the option to open or save onto a designated folder.

Reply

round
the question i have to ask is why? no one ever does that and you wouldn't be able to upload the site to a sever and have it work that way. why not just open up photoshop and in the actions just create a picture gallery. That takes like 5 minutes, you could play with the html afterward if you wanted. They have several different designs.
round

Reply

ashiezai
Yes, you can open images in picture viewer of your own instead of browser like internet explorer.

1.Right click the image file
2.Choose open with
3.Select the program (pictureviewer of yourown)
4.Remember to check "always use the selected program to open this kind of file"
5.Off you go

smile.gif It's easy

Reply

moldboy
Let me first of all say, I know what you want, and Am working on it, a few glitches currently. But let me start by replying:
QUOTE
the only way that can be done if someone saved the image on the computer then open it up might be some php or javascripting in it but i am not to sure about it

The image is already saved on the computer, did you not hear the part about not putting it on the web?
QUOTE
Not everyone has windows xp, and saint_michael is right. The only way that could possibly happen is if the user saves the images onto a computer which supports the picture viewer.

You're right not everyone has WinXP, fortunatly for kvarnerexpress that doesn't matter because as it was said this will be a local thing and he has WinXP!
QUOTE
  the question i have to ask is why? no one ever does that and you wouldn't be able to upload the site to a sever and have it work that way. why not just open up photoshop and in the actions just create a picture gallery. That takes like 5 minutes, you could play with the html afterward if you wanted. They have several different designs.

Okay this one I have to break down
QUOTE
the question i have to ask is why?

You know what I aggree with that, but that's as far as I will go, why not use a nice photo organizing program like Picasa, it's free.
QUOTE
you wouldn't be able to upload the site to a sever and have it work that way.
See above about not going online.
QUOTE
why not just open up photoshop and in the actions just create a picture gallery. That takes like 5 minutes, you could play with the html afterward if you wanted.
I believe he doesn't want this because once you creat a gallery in photoshop you can't zoom or pan the way you can in Imageviewer. So you ask why not use explorer in thumbnail view? Good question, I would assume because hw wants to add a little html flair and not have to wait for thumbnails to build.
And finaly:
QUOTE
Yes, you can open images in picture viewer of your own instead of browser like internet explorer.

1.Right click the image file
2.Choose open with
3.Select the program (pictureviewer of yourown)
4.Remember to check "always use the selected program to open this kind of file"
5.Off you go
It's easy

See the problem is when you build an HTML file you can't right click on anything and choose openwith, it just ain't an option.


Now on to what I believe could be the solution, I must warn that I havn't got it to work, but perhapse we could work on it together.

Because MS is dumb they don't use the .exe file format for any of their programs wink.gif what they do is make each program a .dll and then point to rundll32.exe in hopes that it will parse it, there is probably an advantage to doing it this way, however I can't see it! Now what you'd need to do is point to the picture viewer program with the file name you wanted to open. normaly, in the traditional way of windows if you wanted to open a .wav with sound recorder you would create a shortcut to "sndrec32.exe mysound.wav" but the more advanced .dll programs have many options and don't work simply like that. (which might I add is to bad) So intheory what you'd need to do is create a href link to "sndrec32.exe mysound.wav" when you opened that in the borwser you may still have to choose open upon clicking the link but it should work.
The problem we now have it opening the image in imageviewer, we first need the path to the program. which can be found by opening any folder and going Tools >>Folder Options, and then the filetypes tab, now in my configuration I scroll down to JPEG file type which should by default be set to open with Image Viewer, if it isn't you choose change, and this will get you the same dialog that ashiezai was talking about. NOw if it is already choosen we choose advanced, then the open action and edit. This will reviel to us that the path to image viewer is really "rundll32.exe C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen %1" Noww the intresting thing about this path is the %1 this is where windows will put the path to the image when you doubble click it, so in theory if we put the path to an image in place of %1, and place the whole thing in a shortcut, or better yet a weblink, it would open image viewer with the selected image viewable, unfortunatly it doesn't, so anybody know why that might be we could get along further in the production, otherwise...


Oh, and I'd like to appoligize to anybody who might be offended by the above comments I know you were trying to help, as am I, feel free to harass this post as I currently don't have a solution to the asked question, just a start. I have a few free days to work on this, so I just might make it work.

 

 

 


Reply

it01y2
Hello replying form you reuquest and I have found that if your rightclick on the image and properties There should be a options which allows you to make it popup (this is on frontapge)

Reply

moldboy
Yes but if it pops up you still won't have the control I think he wants with image viewer, things like zoom and open for editing, you know.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. hta pictureviewer - 76.58 hr back. (1)
Similar Topics

Keywords : opening, images, pictureviewer, browser, locally

  1. Opening Hyperlink In New Window Using Xhtml 1.0 Strict
    (5)
  2. Width Of Display Area Of Browser Window
    is there a formula? (6)
    I am making a table in a website that's as big as the display area of the browser for instance:
    CODE <Table border=0 cellpadding=0 cellspacing=0 width=?? align=center> .... .....
    </table> How do I know the width of the browser display area? Better yet, is there a
    general formula for that for other screen resolutions? I know a little bit of javascript, are
    there functions for that?....
  3. How To Make Youtube Embedded Videos Viewable On All Browsers
    including on Opera browser which is actually not viewable with embedde (3)
    Firstly, I've noticed that embedded YouTube videos on personal websites, or any sites not on
    YouTube's domain, cannot be viewed on Opera browser. In other words, the codes given by YouTube
    to embed the videos on your site does not have support for Opera browser. However I've found out
    a trick to do so. Here's how.. This is the original code given by YouTube to embed to your own
    website. Copy this codes and paste into the source of your site. CODE <object
    width="425" height="350"> <param name="movie" value="....
  4. Double Combo Box Produces Images?
    (1)
    I am trying to do a website which requires two drop down boxes that will display different images.
    Basically you select a category then you can select a sub category from the second drop down box.
    Now all the scripts I found online that do this direct you to a link by either pressing Go or some
    kind of submit button. Can some one point me in the right direction to make the selection show
    different images? In the end I want to have an image show up when you select the sub category, then
    have the user be able to drag and drop that image to a different part of the screen....
  5. Correct Markup For A List With Big Images
    so that it validates (7)
    How will the correct markup be for a list that has big images (different images each) next to it?
    Like a list of places you can go and each one with a picture of the destination (but not just a
    bullet, and aligned to the right, AND IE compatible).... So that i can use a heading, a little
    description and a floated img to the right, and avoid pasting the img itself in the document, but
    through a css background rule in the given div or whatever... Thanks in advance!....
  6. Browser Altering Font Size
    (6)
    Is there a way to make the text on a page stay the same size, even if the user clicks on the
    'Enlarge text size' button or the 'Decrease text size' button within browsers. I
    know you can use an image, but that makes the site too big. I also am aware of the need to give the
    user control, but for particular reasons a particular section of text on the site needs to stay the
    same size. It doesn't matter if the text around it is enlarged or decreased. It is just a
    particular section. Any suggestions appreciated. Also, as an aside, is there a way you can ....
  7. How To Reference Parent Browser Window From.....
    (2)
    i have a custom button on the local browser toolbar which points to a local html application (HTA).
    the browser launches the HTA when the custom button is clicked. i have to reference the parent
    browser window from the child HTA window. an instruction in the local HTA window.opener sets or
    retrieves a reference to the window (the browser) that created the current window (the HTA).
    however, window.opener is returning null. the HTA is run under the mshta.exe process. how do i
    reference the browser from the HTA or javascript? i have winxp sp2 with ie6.0 kvarnerexpress....
  8. Substitute Form Button For An Image
    homemade images in forms buttons (3)
    Hi, I have the next formular : CODE  <form method='post'
    action='index.php?mode=2&id=1'>                <input type='hidden'
    name='name' value='Canon Digital Ixus 700'/>                <input
    type='hidden' name='id' value='1'/>                <input
    type='hidden' name='qty' value='1'>                <input
    type='hidden' name='cost' value='40'>                <input
    type='submit' value='Add to ca....
  9. Viewing Images
    Thumbnails to full size (10)
    Hi, Need help designing a thumbnail page in frontpage. Need to have about six thumbnails aligned on
    the right hand side, and when you put the mouse over the thumbnail you can preview the image on the
    same page (as opposed to previewing it in a new window). Does anyone know a good way to do this?
    ....
  10. Web Images Optimizer? Is There Any?
    (5)
    can any1 tell me where can i find a imge optimizer for web... so.. i have a lot of jpg images w 300
    dpi inside a folder named IMG... i want convert all images to 72 dpi and 75 quality the fastest
    possible... can any software do that? thanks /laugh.gif" style="vertical-align:middle"
    emoid=":lol:" border="0" alt="laugh.gif" />....

    1. Looking for opening, images, pictureviewer, browser, locally

Searching Video's for opening, images, pictureviewer, browser, locally
advertisement



Opening Images In Pictureviewer Instead Of Browser - Locally



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE