Hi all,
For those of you who have downloaded RW5 and wondering how the heck do I use the Resource part which has taken over from Assets. Here are a couple of snippets that I have put together that you can use and download.
The first snippet is if you add a folder to the Resource - to do this right click and "Add Folder" and give it a name. You will need to obviously give a name to the folder you have created and also what your image/file is in the snippet.
The second snippet is if you just drop an image or a file into your Resource and all you will need to so is to amend the image/file name.
Good luck
Regards
Norman
PS - Please look further down this thread for an update on the images files
Evocator Forum Member with over 1650 posts on the previous forum
Its me, my mac and your money - thats a good combination!!
Comments
Norman,
Thank you so much, I was just getting ready to ask for some help on where to find the RW5 manual on that exact topic... you rule!
Choctaw
Once again thanks so much for shedding light on this and making the snippets.
-Bikeman
Hello Bikeman,
Well I spoke too soon on my previous message to NormanT, and then ran out the door before testing it. Upon returning I realized that those instructions weren't working for me as I am just learning RW. Would you be so kind or even Norman if he sees this to show me an example of your actual code with the snippet in the CSS.
I had been using a tiled custom background code with the assets and it worked great on RW 4.4.2. Heres what I had been using: body { background: url(assets/my_image.jpg) repeat; } --- where is Normans snippet inserted in that code?
Thanking you in advance... Or a link to the RW5 manual for this would help me also.
Choctaw
I think you would replace the url(assets/my_image.jpg) portion with url(% resource(my_image.jpg)%)
Note you need to remove the space after the first % sign, i had to insert the space to keep the forum software from converting the code to rc;e.
Norman will be able to give a much more informed response i am sure. Don't forget to hightlight and choose ignore formatting.
-Bikeman
This guide might be of use also:
http://support.realmacsoftware.com/faqs/rapidweaver/how-to-use-rapidweaver-5-resources
Thanks!
Nik
Twitter ~ Blog
But how put an image on a image stack and edit it?
(I mean, if the image is on Resources area)
Best
Nik,
There is an error in your code insofar you will need to have the following highlighted in red before and after to make sure that it works
I have also replaced the two snippets for the image because of a bug that I found insofar that you could not have more than one image on the same page/header etc
The first one is for a single use of an image and hopefully self explanatory. The second one can be used a number of times and anywhere as described earlier.
Regards
Norman
Its me, my mac and your money - thats a good combination!!
That is one of the things I have been looking and to be honest there are absolutely no controls for this. It appears that you just have to put the image into the stack and then go from there.
Regards
Norman
Its me, my mac and your money - thats a good combination!!
Hello Bikeman,
I remember, I DID forget to highlight and choose to ignore formatting with the new snippet and resources. I'm sure that very well could have been it. I also see a link from Nik Fletcher on a guide on using the new resources. Thank you for your reminder as I will delve back into it along with the RW5 guide on resources a little later and I'm sure work it out...
Choctaw
So, it must be done "in the old-fashioned way"
Thanks Norman for the snippets.
Best
The snippets that I have posted above work and you don't need to use the multi snippet as either the original or single now works. I have also tested the folder snippet and that is now working correctly. One thing about using these images in the Resource is that you will need to have them re-sized correctly as there are no controls. There is no need to highlight the codes and apply "Ignore Formatting" as I have found you don't need this.
If you want to have images in your stacks or elsewhere and want to have some control over re-sizing of images etc then do not place them into Resources and do it the "old fashioned way".
Regards
Norman
Its me, my mac and your money - thats a good combination!!
Yes - that is true.
Just bumping this thread so that it gets more visibility!!
Regards
Norman
Its me, my mac and your money - thats a good combination!!