Multi-store: Product image (default) import, base, small, thumbnail images are not setting in (non-default) store - magento2

I have multi-website instance. I imported product images via Magento2 (default) tool under admin->system->import....
The images imported successfully, and I can see, each imported image set as base, small and thumbnail, under product (default) store.
However, if I switch to another store via (Store View), the image exists, but did not set as base, small and thumbnail.
Please help.

Please confirm your OS, like Windows or Ubuntu?
If uploading CSV from Ubuntu, then please re-import via Windows.
Sometimes, import makes issue due to the OS.
Thanks,

Related

Base, thumbnail and small images are not creating under pub/media/catalog in magento 2.3

I have added a product from magento admin and uploaded image for that product. Images are showing in backend but not showing in frontend.
I found that the image cache folder for thumbnail,base and small is not created under pub/media folder.So that images are not showing.
I have tried all the magento possible command to fix this but no luck.
Did you check the permission on the folder? The current php user has to have the right to write inside the folder.

Alfresco PDF thumbnail previews unreadable

Not sure this is the right stackexchange site but seems to be the place with the most question about Alfresco I can find so here goes.
Have Alfresco Community Edition 4.2.d installed on a RHEL5 64bit box (mainly default install bar using MySQL as a database locally). Uploading PDFs to the documentLibrary is fine and thumbnail previews and flash previews are generating. If the PDF has been processed by ABBYY OCR (which we have running on a separate server and is used to OCR scanned PDFs) then the flash preview generates fine but the thumbnail is incredibly dark and looks as if it has been attacked by a can of spray paint.
I initially thought it could be a ghostscript issue but have updated that to 9.14 and still getting this issue. I have also tried playing around with ImageMagik but I can't get a nice clear thumbnail to generate. I am guessing it is a switch in the convert command that Alfresco is using but I am struggling to work out a combination of switches that will work and then where Alfresco would store these parameters. Or indeed what switches are currently being used.
I was wondering if anyone had seen this behaviour before with ImageMagik previews in Alfresco 4.2.d? It seems something unique to PDFs that have been through the OCR process so I am guessing I will need to create a separate transformation for them at a later stage.
EDIT: So it was suggested that a later version of ImageMagick and GS should resolve it. I have therefore installed GS 9.14 and IM 6.8.9-0 (both compiled form source). Running the following from a command line:
convert /root/test1.pdf[0] /root/test1.png
results in a crystal clear image thumbnail preview. Thinking I was on to a winner I have amended the following lines in alfresco-global.properties to point to the system location of GS and IM:
img.root=/usr
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
img.gslib = /usr/local/share/ghostscript/9.14/lib/
and alfresco loads. However the thumbnail preview generated by Alfresco using the new version of IM and GS does not result in nice clean previews.
I am guessing that Alfresco is passing some command line switch during the conversion that is undoing the good work of the later versions of these programs. Does anyone know where the switches for thumbnail creation might be stored in Alfresco?
I guess it's related to transparency and default background black. I didn't find an easy way to add the required parameters to the script except to register a new transformer supporting more parameters like:
-fill white -opaque none

Change in Google Earth Collada Support with Version 7.1

I have an application that creates Collada Models in Google Earth that worked fine in version 7.0 but with 7.1 the colors stored in a 24bit PNG texture are no longer displayed. The model displays but no colors. I tried switching to a jpg (supposed to be allowed in Collada) but that didn't work either. Anyone know what the problem might be?
Additional: I just discovered that if you unzip the KMZ file my model will display with the colors from my texture. However if I rezip with a different zip program (7zip) the problem returns.
Google has acknowledged that its a bug in 7.1:
"We can confirm the loss of textures in GE 7.1.1.1580 (beta) for images embedded in the kmz. If 7.1 is required, workarounds include reference to a network, web or local path outside the kmz (as you have found). We think this is a glitch in the beta, relating to extraction of the textures from a zip archive, and expect to see a fix in a later update.
For example, change the in your to access an alternate image outside of the kmz:
c:/test/sample.png
sample.png
When you Save Place As (*.kmz), GE 7.1 still copies the image into the zip archive and writes sample.png to doc.kml, which is a good sign.
-wxazygy"

Create a link on the ios filesystem with Objective-C

I'm trying to create a comic reader app which supports both online reading & off-line reading (by downloading).
I've found MWPhotoBrowser as my image viewer, which supports SDWebImage as the image cache.
My problem is that if some user read little part of a comic on-line, and then they decides to download it for offline reading. Since the already read part is cached by SDWebImage, I don't wanna download them again from the web server. But since user asks to download them locally, I don't wanna keep them on the image cache neither as this will make the downloaded images out of our hand.
Copy the image from the image cache to the place I wanna put is a feasible solution, but it takes storage space. So, what I'm trying to do is cut the image from the image cache to the right place, and then make some soft-link in the image cache. In this way, there should be only one image copy in the storage file system.
You don't want a symbolic (soft) link. A symlink doesn't prevent the original file (in the cache) from being deleted. If the original file is deleted, you'll get an error when you try to open it through the symlink.
You want a hard link. You can create a hard link using -[NSFileManager linkItemAtURL:toURL:error:] or -[NSFileManager linkItemAtPath:toPath:error:]. Take a look at the NSFileManager Class Reference.
If you need to learn more about hard links and symbolic links, you can quickly find a lot of information by searching for “hard link” or “symbolic link” in your favorite search engine.
NOTE FOR FUTURE SEARCHERS
You can create a symbolic link using -[NSFileManager createSymbolicLinkAtURL:withDestinationURL:error:] or -[NSFileManager createSymbolicLinkAtPath:withDestinationPath:error:].

High level process of extracting images from a container

Right, this is the problem I have a container (rar,zip) which contains images png's tiffs bmps or jpegs in an order.
The file extension isnt zip or rar though but uses the same compression.
I want to pull out a list of images contained within the file in the numerical order, then depending on the user decision go to the image selected.
I'm not after any code just the high level thought process/logic of how this can be achieved and how it could be achieved on iphone OS.
From what i know of iphone OS it uses a kind of sandbox environment so how would this effect the process as well.
Thanks
You can include the libz framework in your project and write some C to manage zipped data. Or you can use Objective-C wrapper classes others have written.
Your application resides in its own sandbox. You can include zip files in the "bundle", i.e. add them to your project, and copy them to the application's Documents folder to work with them. Or you can copy archived data over the network to the application's Documents folder if you don't want to include files in your project.
I don't think the extension matters so much as the data being in the format you expect it to be.
Everything I wrote above is for zip-ped files. If you're working with rar-formatted archives, you'll need to look at making a static library for the iPhone, perhaps from the UnRAR source code.