Home » Tag Archives: Server

Tag Archives: Server

How can replace all images with the same name in the assets folder


Put the below function in your class file and run the static route. /** * @Route("/image") */ public function imageUploadAction() { $image = "/folder1/image.png"; //$image = "/folder2/image.png"; // Uncomment this path after upload first image, than the old image will be replaced $image_parts = pathinfo($image); $exist = \Pimcore\Model\Asset::getByPath('/' . $image_parts['filename'] …

Read More »

Top Javascript Interview Questions And Answers Part 1

1. What is JavaScript?JavaScript is a client-side as well as server side scripting language that can be inserted into HTML pages and is understood by web browsers. 2. What are the data types supported by JavaScript? The data types supported by JavaScript are: UndefinedNullBooleanStringSymbolNumberObject 3. What are the features of JavaScript? JavaScript …

Read More »