|
|
|
|
![]() ![]() |
Jun 26 2005, 09:44 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 407 Joined: 13-December 04 Member No.: 2,696 |
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 |
|
|
|
Jun 26 2005, 09:47 PM
Post
#2
|
|
|
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 6,565 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 ![]() |
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
|
|
|
|
Jun 26 2005, 10:12 PM
Post
#3
|
|
|
Ephesians 6:10-17 ![]() Group: [MODERATOR] Posts: 1,918 Joined: 22-June 05 From: The World of Gentoo Member No.: 8,528 |
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.
|
|
|
|
Jun 26 2005, 10:30 PM
Post
#4
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 463 Joined: 8-November 04 Member No.: 2,186 |
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 |
|
|
|
Jun 26 2005, 11:47 PM
Post
#5
|
|
|
King of My WOrld ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 482 Joined: 11-October 04 Member No.: 1,665 |
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 |
|
|
|
Jul 8 2005, 05:13 AM
Post
#6
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 516 Joined: 29-April 05 From: Canada Eh?!? Member No.: 6,408 |
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 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. |
|
|
|
Jul 8 2005, 04:25 PM
Post
#7
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 65 Joined: 7-July 05 Member No.: 9,139 |
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)
|
|
|
|
Jul 8 2005, 08:16 PM
Post
#8
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 516 Joined: 29-April 05 From: Canada Eh?!? Member No.: 6,408 |
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.
|
|
|
|
![]() ![]() |