For the images on this website that appear within a post, I wanted to ensure that the image fits within the post’s container div otherwise it looks kind of ugly. I tried the following CSS rule but it did not work for Firefox. (I do not even test on IE!)
Now even if this worked for all images, however I have varied image sources where I do not have a direct control over the image type and image size, the two variables that I want to control. I prefer that images be of PNG format with the width scaled to 500 px. That would work best for my website layout. However it is cumbersome and boring to convert each image by opening it in some image processing software like ColorSync or Preview, changing its type and scaling it to the desired dimensions.
For such tasks, automator comes to the rescue. It will be great if I have two options in the context menu that allow me to:
Creating an automator service
Please watch my screencast below to understand how to use Automator to create a service.
To summarize, open Automator, choose ’Change type of Picture’ action in the Library, add it to the Service while allowing a copy of the image to be created and choosing some destination folder. You can now see the context menu option 'Scale for my website'. Similary you can create an automator service to scale your image while choosing the action ’Scale Images’ from the Library.
This was neatly done with Automator and it appears to be a very useful utility.
However the Automator app does not provide any mechanism to delete a service. In order to delete a service, just navigate to Library/Services in your home folder. Now just select the service that you do not want and Trash it.
I am a programmer by profession. For around a year now, I have had the privilege of working from home. Yes, its a privilege, which I think you can avail of only when you have built a niche programming skill set.
I have worked long enough in a cubicle to be able to compare working from home to that in a cubicle. Before I actually worked as I do now if you had asked me, I would have easily mentioned the following advantages of working from home.
I had not done anything special before embarking upon working from home and it suddenly dawned upon me that I was completely shielded from unnecessary distractions of a cubicled workplace. If you have worked in a cubicle, I need not cite examples of such distractions; but for the sake of some enthusiastic programmer out there; I will cite a few. Uncalled for meetings, false alarm driven panic and inconsequential interventions which is labeled as ’behavior of a team man’, supplementary work such as ’trainings [both conducting and attending], the stupid HR parties, the list is endless :-).
While working from home, I observed and noted carefully that all my communications were centered only around my work and responsibilities. All other distractions just faded into thin air. And I realized that I was actually not working from home, but working in solitude. Solitude enables productivity, uncluttered thinking and the result is intrinsic joy.
So what are you waiting for? Go find your solitude for work.
I am a 3D graphics software engineer.