>It's a web application so I've got several WAComponent instances The #asPackagedString: is VW specific and not available in Pharo. In Seaside on Pharo the resources like pictures are stored in methods returning a ByteArray with the bytes only.
There is an easy way: just save the original resources from VW (for instance the JPG) in a folder and then reimport them again into the Pharo based Seaside image. Example: So you are using Seaside and have a subclass of WAFileLibrary for your own resources (for instance MyFileLibrary) Just open http://localhost:8080/config/files and select the Library (here "MyFileLibrary") and click on "Configure". Now you can upload the JPG again using the web interface and Seaside is (re)generating the method on class MyFileLibrary which should look like logoJpg ^#(1 2 3 ...) asByteArray containing the bytes that represent the JPG. If you have more than one you should note that the superclass of WAFileLibrary which is WAAbstractFileLibrary in latest Seaside provide some utility methods to automate importing of resources. Check for #addAllFilesIn: and #addFileAt: on the class side. Bye T.