Dragging files from project window and image size properties

Beta related comments, bug reports etc. Please leave as many details as possible.

Dragging files from project window and image size properties

Postby clarkedesign » Sat Apr 11, 2009 6:57 am

You can drag and drop files from the files window onto a html file, there is an option to adds links to that file.

Why can't I do this from the project window - this is where i spend most of my time with files - it's the project i'm working on.
Sort of feel that the project should contain all of the assets of a particular project; css, html, images, style sheets - the works...

Thus when you open a new project - all of the relevat assets are available - no browsing to different directories as I switch between different projects.

Image Size Attributes
It would also be so nice, that when you drag and drop an image onto an html document, it adds in the size properties of the image automatically.
I'm so used to this is every other kind of web code editor - it's a massive oversight
Either as height="" and width="" or by style="width: 20px; height:15px"

It's these kind of everyday things (the things that developers do hundreds of times a day) that make an application 'superb' or 'not quite there'
clarkedesign
 
Posts: 11
Joined: Fri Apr 10, 2009 12:32 pm

Re: Dragging files from project window and image size properties

Postby clarkedesign » Sat Apr 11, 2009 7:04 am

In fact the more i think about the image size issue, the more it is putting me off purchasing WebCoder.

I can't overemphasise the importance of adding in image dimensions when adding an image file into HTML.

Every website designer will tell you that you have to have image sizes defined. Leaving them blank and letting the browser determine them is just unheard of.
So we as developers have to put them into our code.

This is now a great deal of work.

1) I drag and drop an image file onto a html docuement and I get <img src="images/my-image.gif" />
2) Then I have to go and find the image in some other program, determine the image dimensions and remember them
3) come back into WebCoder and manually insert them into the code

SERIOUSLY - THIS IS A MAJOR DECISIION MAKING ERROR

It's the biggest oversight I've found in this editor and something that every single website developer must do hundreds of times a day.
Adding a minute or two to this task that should take 1-2 seconds in any other editor it utterly unacceptable.

It adds completely unnecessary time to a simple task and also introduced human error in remembering the image dimensions.

Seriously, please sort out these little things to make WebCoder a truly superb product.
clarkedesign
 
Posts: 11
Joined: Fri Apr 10, 2009 12:32 pm

Re: Dragging files from project window and image size properties

Postby KasperTSW » Sun Apr 12, 2009 8:12 am

Hi Sean,

Thank you for your post. I get the feeling that you truly care about this issue, which is great. However, I do want you to think about the fact that WebCoder as a product is rather old: It has been tested A LOT, through many versions, and while I can't tell you that _no one_ has _ever_ requested the automatic size properties for the image to be inserted when drag/dropping image files, I feel pretty sure that no one has requested it for at least the last couple of versions. So while this is a major issue to you (which is perfectly fine!), no one else has yet cared enough about it to request it. As you can see in this forum, WebCoder 2009 has just been beta tested for ~4 months, so it's not like there hasn't been time to suggest it :).

Anyway, I think your idea is just great, and I can see that it would make things a lot easier, so I have implemented it for the next maintenance release :). It will be added as a style property, and while I was at it, I included the alt property as well, set to the filename of the file, to prevent the user from getting a validation error immediately after inserting the tag :)

About dragging from the project tree, it should work just fine. I have just tested it my self, with a couple of different files, both image and other files, and it works perfectly well here. What exactly happens if you try to drag a file from your active project, to the editor area?
KasperTSW
Site Admin
 
Posts: 1469
Joined: Mon Jan 28, 2008 5:55 pm

Re: Dragging files from project window and image size properties

Postby Triangulix » Sun Apr 26, 2009 1:14 pm

KasperTSW wrote:Thank you for your post. I get the feeling that you truly care about this issue, which is great. However, I do want you to think about the fact that WebCoder as a product is rather old: It has been tested A LOT, through many versions, and while I can't tell you that _no one_ has _ever_ requested the automatic size properties for the image to be inserted when drag/dropping image files, I feel pretty sure that no one has requested it for at least the last couple of versions. So while this is a major issue to you (which is perfectly fine!), no one else has yet cared enough about it to request it. As you can see in this forum, WebCoder 2009 has just been beta tested for ~4 months, so it's not like there hasn't been time to suggest it :).

Hi, KasperTSW!
I'm missing the image dimensions, too. It did not stop me from buying a license, but it is clearly one of the many clever little features which made me stay with HomeSite 5 for a long time.

A similar feature is the automatic linking of selected text. I select text and then drop an HTML file from the sidebar onto the text. When the current file has been saved and the dropped file is also on the local hard disk, HomeSite would wrap the selected text in a link with a relative path to the dropped file.

HomeSite also differentiates between inserting an image tag and inserting a link to an image.


Triangulix
Triangulix
 
Posts: 26
Joined: Sun Apr 26, 2009 10:39 am

Re: Dragging files from project window and image size properties

Postby KasperTSW » Tue Apr 28, 2009 7:19 am

Hi,

>I'm missing the image dimensions, too. It did not stop me from buying a license, but it is clearly one of the many clever little features which made me stay with HomeSite 5 for a long time.

Okay, good to hear. It's implemented in the next maintenance release :)

>A similar feature is the automatic linking of selected text. I select text and then drop an HTML file from the sidebar onto the text. When the current file has been saved and the dropped file is also on the local hard disk, HomeSite would wrap the selected text in a link with a relative path to the dropped file.

That's pretty clever. Unfortunately, I'm not sure that it would be possible for me to do the same, under the current conditions. But I will look into it :)

>HomeSite also differentiates between inserting an image tag and inserting a link to an image.

So does WebCoder. If you drag an image, it will be inserted with an img tag. If you drag a CSS file, it will be inserted as a link tag. Otherwise, it will be inserted as a regular link :)
KasperTSW
Site Admin
 
Posts: 1469
Joined: Mon Jan 28, 2008 5:55 pm

Re: Dragging files from project window and image size properties

Postby terry_b » Wed Nov 25, 2009 2:18 pm

Actualy I kinda requested a similar function.

Check my whishlist here: viewtopic.php?f=2&t=491&p=3291#p3188

Anyway, my idea was more about filling the width and height, which is automaticaly detected from the image, once you'd type the image tag.

;)
terry_b
 
Posts: 40
Joined: Thu Jan 15, 2009 4:30 am


Return to Beta forum

Who is online

Users browsing this forum: No registered users and 2 guests

cron